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 in decoration provider treesitter/highlighter.win:
Error executing lua: ...im-macos/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 2:4. Invalid node type "delimiter":
(delimiter) @markup.heading.1
^
stack traceback:
[C]: in function '_ts_parse_query'
The problematic line (delimiter) @markup.heading.1 is in ~/.local/share/nvim/site/pack/packer/start/nvim-treesitter/queries/vimdoc/highlights.scm which is not packaged with vim, AFAIK.
If you comment out the problematic lines in the file: highlights.scm then the treesitter would be happy and big part of highlight will work:
That issue is about something different; the issue description is a bit misleading. Your issue is a misconfiguration on your side (if you install nvim-treesitter, you must install all bundled parsers with it).
Problem
I have experienced #29271 issue symptom:
The problematic line
(delimiter) @markup.heading.1
is in~/.local/share/nvim/site/pack/packer/start/nvim-treesitter/queries/vimdoc/highlights.scm
which is not packaged with vim, AFAIK.If you comment out the problematic lines in the file:
highlights.scm then the treesitter would be happy and big part of highlight will work:
and
This would fix the issue #29271.
(This should have been better as comment there, but the issue is locked)
Steps to reproduce
:help TSDisable
, for example, will cause the symptomsExpected behavior
:help TSDisable
would just show helpNeovim version (nvim -v)
NVIM v0.10.0
Vim (not Nvim) behaves the same?
dont have vim and it will not pick up the configuration
Operating system/version
macOS 11.5
Terminal name/version
Alacritty
$TERM environment variable
xterm-256color
Installation
https://github.com/neovim/neovim/releases/tag/v0.10.0 from releases on github repo
The text was updated successfully, but these errors were encountered: