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
nvim will be blocked by a infinite loop in certain context.
In my setup, the error disappears when both matchup' and highlight' options for `nvim-trreesitter' are disabled.
Steps To Reproduce/Bad Parse Tree
write a file.jl
function a()
map([1:10]) do f
end
end
in the `do' block, type
for hello i
nvim will block the instant `i' is typed.
If `hello' is replaced by a very long name, the error disappears.
Expected Behavior/Parse Tree
Nvim (treesitter) should not block when a partial expression is typed.
Repro
No response
The text was updated successfully, but these errors were encountered:
I'm experiencing the same issue from what I tested. For me, the moment I type an 'i' into the do block neovim will instantly freeze. Disabling the highlighting alone solves it in my case
Cannot reproduce. Please test with the latest version of Neovim (nightly from the release page) and provide minimal reproducible steps (including a minimal neovim config!), then open an issue at Neovim.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.22.6 (b40f342067a89cd6331bf4c27407588320f3c263)
Describe the bug
nvim will be blocked by a infinite loop in certain context.
In my setup, the error disappears when both
matchup' and
highlight' options for `nvim-trreesitter' are disabled.Steps To Reproduce/Bad Parse Tree
If `hello' is replaced by a very long name, the error disappears.
Expected Behavior/Parse Tree
Nvim (treesitter) should not block when a partial expression is typed.
Repro
No response
The text was updated successfully, but these errors were encountered: