aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_comment.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-07-13 14:35:23 -0400
committerGitHub <noreply@github.com>2026-07-13 14:35:23 -0400
commit4d736cd41feb863274ccc73cf9e10407bdddd913 (patch)
tree77901d36212bdfa057773f228bce83ec4137679d /runtime/lua/vim/_comment.lua
parentdc8934482e72cdc885da69f7318eabc21a4e8757 (diff)
parentfe794153ed3f267bfba13b78fde67b999fe7e600 (diff)
downloadrneovim-4d736cd41feb863274ccc73cf9e10407bdddd913.tar.gz
rneovim-4d736cd41feb863274ccc73cf9e10407bdddd913.tar.bz2
rneovim-4d736cd41feb863274ccc73cf9e10407bdddd913.zip
Merge #40721 from justinmk/refactor
Diffstat (limited to 'runtime/lua/vim/_comment.lua')
-rw-r--r--runtime/lua/vim/_comment.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_comment.lua b/runtime/lua/vim/_comment.lua
index 7afd0813ca..dbc2f38b34 100644
--- a/runtime/lua/vim/_comment.lua
+++ b/runtime/lua/vim/_comment.lua
@@ -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