Closed ripjackie closed 2 months ago
Further Info: neovim build: NVIM v0.10.0-dev-594ff34 Build type: RelWithDebInfo LuaJIT 2.1.1696795921
nvim-treesitter checkhealth:
============================================================================== nvim-treesitter: require("nvim-treesitter.health").check()
Installation ~
tree-sitter
executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)node
found v18.13.0 (only needed for :TSInstallFromGrammar)git
executable found.cc
executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: cc (Debian 12.2.0-14) 12.2.0OS Info: { machine = "x86_64", release = "5.15.90.1-microsoft-standard-WSL2", sysname = "Linux", version = "#1 SMP Fri Jan 27 02:56:13 UTC 2023" } ~
Parser/Features H L F I J
xml ✓ . ✓ ✓ ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections +) multiple parsers found, only one will be used x) errors found in the query, try to run :TSUpdate {lang} ~
fixed in latest version
Describe the bug Chunk and line_num fail to get the correct treesitter node, only the outermost scope is highlighted. with use_treesitter = false both work as intended. Indent seems unaffected by treesitter.
To Reproduce Steps to reproduce the behavior: enable use_treesitter on chunk or line_num
Expected behavior chunk & line_num draw as expected in the spec
Screenshots use_treesitter = true as in screenshot: use_treesitter = false as in screenshot:
Additional context treesitter configuration: