Disable strict index checking.

This commit is contained in:
Ashkan Kiani 2019-11-07 20:14:32 -08:00
parent 530b8244ab
commit 8f98c7bb0c

View file

@ -515,7 +515,7 @@ local function attach_to_buffer(buf, options)
return true
end
nvim_buf_clear_namespace(buf, ns, firstline, new_lastline)
local lines = nvim_buf_get_lines(buf, firstline, new_lastline, true)
local lines = nvim_buf_get_lines(buf, firstline, new_lastline, false)
highlight_buffer(buf, ns, lines, firstline, BUFFER_OPTIONS[buf])
end;
on_detach = function()