diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-07-13 19:25:39 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2026-07-13 19:44:15 +0200 |
| commit | 9982f6e0e4f712aea28d3351f180786d29cf808d (patch) | |
| tree | 455011b52fc21c59f209ea4d26763223f2f0c1f2 /runtime/lua/vim/_comment.lua | |
| parent | dc8934482e72cdc885da69f7318eabc21a4e8757 (diff) | |
| download | rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.tar.gz rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.tar.bz2 rneovim-9982f6e0e4f712aea28d3351f180786d29cf808d.zip | |
refactor(api): omit optional param
Diffstat (limited to 'runtime/lua/vim/_comment.lua')
| -rw-r--r-- | runtime/lua/vim/_comment.lua | 2 |
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 |