refactor(api): omit optional param

This commit is contained in:
Justin M. Keyes
2026-07-13 19:25:39 +02:00
parent dc8934482e
commit 9982f6e0e4
39 changed files with 90 additions and 90 deletions

View File

@@ -68,7 +68,7 @@ local function get_comment_parts(ref_position)
local cs = get_commentstring(ref_position)
if cs == nil or cs == '' then
vim.api.nvim_echo({ { "Option 'commentstring' is empty.", 'WarningMsg' } }, true, {})
vim.api.nvim_echo({ { "Option 'commentstring' is empty.", 'WarningMsg' } }, true)
return { left = '', right = '' }
end