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