feat(extmarks): add strict option

The strict option, when set to false, allows placing extmarks on
invalid row and column values greater than the maximum buffer row
or line column respectively.

This allows for nvim_buf_set_extmark
to be a drop-in replacement for nvim_buf_set_highlight.
This commit is contained in:
Michael Lingelbach
2022-01-08 08:14:24 -08:00
parent b4fbb9dcf2
commit 11142f6ffe
2 changed files with 11 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ return {
"virt_lines";
"virt_lines_above";
"virt_lines_leftcol";
"strict";
};
keymap = {
"noremap";