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
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: ...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:24: Error executing lua: ...brew/Cellar/neovi
m/0.9.4/share/nvim/runtime/filetype.lua:25: BufReadPost Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executin
g lua callback: ...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:264: Ranges can only be made from 6 element long tables or
nodes.
stack traceback:
[C]: in function 'set_included_ranges'
...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:264: in function 'parse'
...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:316: in function 'parse'
...r/neovim/0.9.4/share/nvim/runtime/lua/vim/treesitter.lua:89: in function '_create_parser'
...r/neovim/0.9.4/share/nvim/runtime/lua/vim/treesitter.lua:131: in function 'get_parser'
...r/neovim/0.9.4/share/nvim/runtime/lua/vim/treesitter.lua:459: in function 'start'
...lugins/nvim-treesitter/lua/nvim-treesitter/highlight.lua:20: in function 'attach'
.../plugins/nvim-treesitter/lua/nvim-treesitter/configs.lua:509: in function 'attach_module'
.../plugins/nvim-treesitter/lua/nvim-treesitter/configs.lua:532: in function 'reattach_module'
.../plugins/nvim-treesitter/lua/nvim-treesitter/configs.lua:133: in function <.../plugins/nvim-treesitter/lua/nvim-treesitter/c
onfigs.lua:132>
[C]: in function 'nvim_cmd'
...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:25: in function <...brew/Cellar/neovim/0.9.4/share/nvim/runtime/fil
etype.lua:24>
[C]: in function 'nvim_buf_call'
...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:24: in function <...brew/Cellar/neovim/0.9.4/share/nvim/runtime/fil
etype.lua:10>
stack traceback:
[C]: in function 'nvim_cmd'
...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:25: in function <...brew/Cellar/neovim/0.9.4/share/nvim/runtime/fil
etype.lua:24>
[C]: in function 'nvim_buf_call'
...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:24: in function <...brew/Cellar/neovim/0.9.4/share/nvim/runtime/fil
etype.lua:10>
stack traceback:
[C]: in function 'nvim_buf_call'
...brew/Cellar/neovim/0.9.4/share/nvim/runtime/filetype.lua:24: in function <...brew/Cellar/neovim/0.9.4/share/nvim/runtime/fil
etype.lua:10>
To Reproduce
Crate a Dockerfile with content:
FROM ubuntu:20.04
RUN python3 <<EOF
with open("/hello", "w") as f:
print("Hello", file=f)
print("World", file=f)
EOF
RUN python3 <<EOF > /hello
print("Hello")
print("World")
EOF
Cannot reproduce. Latest version is 0.9.5, please test that. And please provide a minimal(!) reproducible config we can test with nvim --clean -u test.lua.
Describe the bug
When open a Dockerfile, it throws the error.
To Reproduce
Expected behavior
No response
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
nvim-treesitter version: commit ea4f6d5
The text was updated successfully, but these errors were encountered: