Closed Iron-E closed 4 years ago
strict_indexing was set to true in the nvim_buf_get_lines call, so when row got to the end of the buffer it would cause an error.
strict_indexing
true
nvim_buf_get_lines
row
Setting strict_indexing to false caused line to be nil sometimes, so I added some logic to handle that.
false
line
nil
This fixes #36.
Thanks for the fix:)
strict_indexing
was set totrue
in thenvim_buf_get_lines
call, so whenrow
got to the end of the buffer it would cause an error.Setting
strict_indexing
tofalse
causedline
to benil
sometimes, so I added some logic to handle that.This fixes #36.