mirror of
https://github.com/neovim/neovim.git
synced 2026-07-26 02:32:02 +00:00
refactor(api): omit optional param
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user