You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I run the command Neogen file to generate comment for the entire file, I get the following error message if the file's first line is blank:
E5108: Error executing lua ...e/yann/.local/share/nvim/lazy/neogen/lua/neogen/mark.lua:72: Invalid 'end_col': out of range
stack traceback:
[C]: in function 'nvim_buf_set_extmark'
...e/yann/.local/share/nvim/lazy/neogen/lua/neogen/mark.lua:72: in function 'add_range_mark'
...n/.local/share/nvim/lazy/neogen/lua/neogen/generator.lua:358: in function 'generate'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
If I press the key ENTER, the comment will still be generated successfully, but the error message is really annoying.
Code example which generates error message when I run the command Neogen file:
Code example which works fine when I run the command Neogen file:
Whenever I run the command
Neogen file
to generate comment for the entire file, I get the following error message if the file's first line is blank:If I press the key
ENTER
, the comment will still be generated successfully, but the error message is really annoying.Code example which generates error message when I run the command
Neogen file
:Code example which works fine when I run the command
Neogen file
:Neogen version:
Neovim version:
OS: Ubuntu 20.04 in wsl2
I know it's a really small and insignificant problem, but I'll be really grateful if you could help me.
The text was updated successfully, but these errors were encountered: