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]: Error detected while processing CursorMoved Autocommands on nightly v0.11.0 for .vim files #137

Open
zuqini opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zuqini
Copy link

zuqini commented Oct 4, 2024

Neovim version

NVIM v0.11.0-dev-895+gf62728cd8

Language affected

vimscript

Query

No response

Strategy

local

Description

On nightly v0.11.0, I get the follow error when opening any .vim file:

Error detected while processing CursorMoved Autocommands for "<buffer=1>":
Error executing lua callback: ...m-macos-x86_64/share/nvim/runtime/lua/vim/treesitter.lua:252: attempt to call method 'range' (a nil value)
stack traceback:
        ...m-macos-x86_64/share/nvim/runtime/lua/vim/treesitter.lua:252: in function 'is_in_node_range'
        ...elimiters.nvim/lua/rainbow-delimiters/strategy/local.lua:196: in function 'update_local'
        ...elimiters.nvim/lua/rainbow-delimiters/strategy/local.lua:241: in function 'fn'
        ...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:473: in function 'for_each_tree'
        ...elimiters.nvim/lua/rainbow-delimiters/strategy/local.lua:240: in function 'local_rainbow'
        ...elimiters.nvim/lua/rainbow-delimiters/strategy/local.lua:300: in function <...elimiters.nvim/lua/rainbow-delimiters/strategy/local.lua:296>
@zuqini zuqini added the bug Something isn't working label Oct 4, 2024
@zuqini zuqini changed the title [Bug]: Error detected while processing CursorMoved Autocommands on nightly v0.11.0 for vim files [Bug]: Error detected while processing CursorMoved Autocommands on nightly v0.11.0 for .vim files Oct 4, 2024
@zuqini zuqini changed the title [Bug]: Error detected while processing CursorMoved Autocommands on nightly v0.11.0 for .vim files [Bug]: Error detected while processing CursorMoved Autocommands on nightly v0.11.0 for .vim files Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants