-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LSP snippet: end_row out of bounds #20
Comments
Sounds like something is messing with extmarks and moving them beyond the end of the line (hence 'end_row out of bounds'). I think that can happen if the line is changed with nvim_set_text(), my best guess would be that something (lsp? compe?) is setting the text in the line at some point, which would explain the random nature of the issue. |
|
Okay, I didn't experience your error with texlab (so far), but I did notice that, after updating compe (which |
I tested using master and this commit. I got the same results.
For me they work fine. Actually I used
Yes, it works. Actually I discover the issue #20 using this Snippet. |
Wow, weird... different nvim maybe? I'm on |
Different version of nvim |
Okay, that's good to know. Do you have any linters or similar tools installed that could set text for the entire buffer? |
Thanks! If I find a way to reproduce it I will continue this issue! |
<Plug>luasnip-expand-or-jump
raises sometimes an error after an expansion of a LSP snippet . It happens "randomly", because actually I haven't found yet a way to reproduce it.The error:
LuaSnip/lua/luasnip/nodes/snippet.lua:318: end_row out of bounds
I know that
require('luasnip').expand_or_jumpable()
returns true.The text was updated successfully, but these errors were encountered: