Closed sinnrrr closed 1 year ago
Tree-sitter for Rust is installed. Same thing with Lua. Other languages work correctly.
Debug logs:
nvim-treesitter: require("nvim-treesitter.health").check() ======================================================================== ## Installation - OK: `tree-sitter` found 0.20.7 (b268e412ad4848380166af153300464e5a1cf83f) (parser generator, only needed for :TSInstallFromGrammar) - OK: `node` found v18.10.0 (only needed for :TSInstallFromGrammar) - OK: `git` executable found. - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: Apple clang version 14.0.0 (clang-1400.0.29.102) - OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI. ## Parser/Features H L F I J - cmake ✓ . ✓ . . - latex ✓ . ✓ . ✓ - toml ✓ ✓ ✓ ✓ ✓ - markdown ✓ . ✓ . ✓ - hcl ✓ . ✓ ✓ ✓ - scala ✓ . ✓ . ✓ - jsdoc ✓ . . . . - tsx ✓ ✓ ✓ ✓ ✓ - comment ✓ . . . . - regex ✓ . . . . - c_sharp ✓ ✓ ✓ . ✓ - swift ✓ ✓ . . . - teal ✓ ✓ ✓ ✓ ✓ - fennel ✓ ✓ . . ✓ - ocaml ✓ ✓ ✓ . ✓ - dart ✓ ✓ . ✓ ✓ - nix ✓ ✓ ✓ . ✓ - yaml ✓ ✓ ✓ ✓ ✓ - elixir ✓ ✓ ✓ ✓ ✓ - elm ✓ . . . ✓ - erlang ✓ . ✓ . . - jsonc ✓ ✓ ✓ ✓ ✓ - vue ✓ . ✓ ✓ ✓ - json ✓ ✓ ✓ ✓ . - vim ✓ ✓ ✓ . ✓ - julia ✓ ✓ ✓ ✓ ✓ - html ✓ ✓ ✓ ✓ ✓ - kotlin ✓ ✓ ✓ . ✓ - java ✓ ✓ . ✓ ✓ - php ✓ ✓ ✓ ✓ ✓ - fish ✓ ✓ ✓ ✓ ✓ - bash ✓ ✓ ✓ . ✓ - perl ✓ . ✓ . . - ruby ✓ ✓ ✓ ✓ ✓ - graphql ✓ . . ✓ ✓ - gomod ✓ . . . ✓ - python ✓ ✓ ✓ ✓ ✓ - ledger ✓ . ✓ ✓ ✓ - rust ✓ ✓ ✓ ✓ ✓ - dockerfile ✓ . . . ✓ - c ✓ ✓ ✓ ✓ ✓ - cpp ✓ ✓ ✓ ✓ ✓ - r ✓ ✓ . ✓ ✓ - typescript ✓ ✓ ✓ ✓ ✓ - javascript ✓ ✓ ✓ ✓ ✓ - zig ✓ . ✓ ✓ ✓ - query ✓ ✓ ✓ ✓ ✓ - solidity ✓ . . . . - help ✓ . . . . - lua ✓ ✓ ✓ ✓ ✓ - go ✓ ✓ ✓ ✓ ✓ - css ✓ . ✓ ✓ ✓ - scss ✓ . . ✓ . - make ✓ . ✓ . ✓ - rego ✓ . . . ✓ - d ✓ . ✓ ✓ ✓ 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}
I also had a look at neovim's logs, but nothing helped.
Ok, this is a neovim issue. Can you open an issue there?
@maxbrunsfeld it doesn’t seem like neovim issue, because other languages are highlighted correctly (except from Lua)
Tree-sitter for Rust is installed. Same thing with Lua. Other languages work correctly.
Debug logs:
I also had a look at neovim's logs, but nothing helped.