Skip to content
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

[Bug] Invalid end_row: out of range #38

Open
dhruvinsh opened this issue Feb 12, 2024 · 0 comments
Open

[Bug] Invalid end_row: out of range #38

dhruvinsh opened this issue Feb 12, 2024 · 0 comments

Comments

@dhruvinsh
Copy link

Trying to replace something in yaml file, I get this error,

image

E5108: Error executing lua: /home/ds/.local/share/nvim/lazy/ssr.nvim/lua/ssr/search.lua:206: Invalid 'end_row': out of range
stack traceback:
        [C]: in function 'nvim_buf_set_text'
        /home/ds/.local/share/nvim/lazy/ssr.nvim/lua/ssr/search.lua:206: in function 'replace'
        /home/ds/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:284: in function 'func'
        /home/ds/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:106: in function </home/ds/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:105>
NVIM v0.10.0-dev-2315+g32b49448b
Build type: RelWithDebInfo
LuaJIT 2.1.1707061634
Compilation: /usr/bin/gcc-10 -O2 -g -Og -g -flto=auto -fno-fat-lto-objects -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes
-std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always  -DUNIT_TESTING -DHAVE_UNIBILIUM -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -I/home/runner/work/neovim/neovim/.deps/usr/include/luajit-2.1 -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/neovim/neovim/src -I/usr/include

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info
● ssr.nvim 0.05ms  start
        dir    /home/ds/.local/share/nvim/lazy/ssr.nvim
        url    https://github.com/cshuaimin/ssr.nvim
        branch main
        commit bb323ba
        readme README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant