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
crash with indent on in python script #5914
Comments
Thanks for the detailed reproduction step (a nitpicking is that lazy.nvim should not be used for the minimal repro: https://github.com/neovim/neovim/wiki/Minimal-reproduction-template). I can reproduce this with neovim HEAD 0.10-nightly as well. It looks like this is an upstream treesitter issue (or neovim core maybe). Ideally a simpler reproduction should be possible without nvim-treesitter & lazy, only using the problematic (relevant) query. Will have another closer look. |
I have recently updated tree-sitter; if you can bisect Neovim, that would be helpful. |
That link does not work. it redirects to https://github.com/neovim/neovim/wiki/ and says: ` You do not have permission to update this wiki.
updating nvim-treesitter to 5037721 does not solve the problem. FWIW, looking at this again, I'm convinced that the problem is related to the |
Describe the bug
If I try and insert a
:
after deleting 2 lines, neovim crashesTo Reproduce
I can reproduce it from commandline via:
Essentially: go to the line with xyz123, remove the last 2 characters, then type
:
it will crash instantly, or it will shift the line slightly backDoesn't happen after TSDisable indent
Expected behavior
shouldn't crash
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
minimal_example_file (rename to .py)
minimal_crashing_script.py.txt
minimal init.lua config:
coredump
The text was updated successfully, but these errors were encountered: