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

@@ -213,7 +213,7 @@ local function buf_range_get_text(buf, range)
end_row = end_row - 1
end
local lines = api.nvim_buf_get_text(buf, start_row, start_col, end_row, end_col, {})
local lines = api.nvim_buf_get_text(buf, start_row, start_col, end_row, end_col)
if append_newline then
table.insert(lines, '')
end