nvim-treesitter / nvim-treesitter

Nvim Treesitter configurations and abstraction layer
Apache License 2.0
10.68k stars 893 forks source link

Cant Install Latex #7066

Closed AndreM222 closed 1 month ago

AndreM222 commented 1 month ago

Describe the bug

can not install latex even after running TSInstall latex or adding it in the ensure installed "latex"

To Reproduce

  1. run TSInstall latex
  2. try to add latex to ensure installed.
  3. open to let it download.

Expected behavior

To install latex treesitter

Output of :checkhealth nvim-treesitter

1   checkhealth nvim-treesitter                                                                                                                                                                         1   ──────────────────────────────────────────────────────────────────────────────                                                                                                                      2   nvim-treesitter: require("nvim-treesitter.health").check()                                                                                                                                          3                                                                                                                                                                                                       4   Installation                                                                                                                                                                                        5   - WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)                                                                   6   - OK node found v20.11.1 (only needed for :TSInstallFromGrammar)                                                                                                                                    7   - OK git executable found.                                                                                                                                                                          8  - OK gcc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }                                                                                                             9     Version: gcc (GCC) 13.2.0^M                                                                                                                                                                      10   - OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.                                                                     11
  12   OS Info:
  13  {
  14     machine = "x86_64",
  15     release = "10.0.22631",
  16     sysname = "Windows_NT",
  17     version = "Windows 11 Home"
  18   }
  19
  20  Parser/Features         H L F I J
  21     - c                   ✓ ✓ ✓ ✓ ✓
  22     - c_sharp             ✓ ✓ ✓ . ✓
  23     - cpp                 ✓ ✓ ✓ ✓ ✓
  24     - css                 ✓ . ✓ ✓ ✓
  25     - html                ✓ ✓ ✓ ✓ ✓
  26     - javascript          ✓ ✓ ✓ ✓ ✓
  27     - json                ✓ ✓ ✓ ✓ .
  28     - lua                 ✓ ✓ ✓ ✓ ✓
  29     - markdown            ✓ . ✓ ✓ ✓
  30     - markdown_inline     ✓ . . . ✓
  31     - php                 ✓ ✓ ✓ ✓ ✓
  32     - python              ✓ ✓ ✓ ✓ ✓
  33     - regex               ✓ . . . .
  34     - toml                ✓ ✓ ✓ ✓ ✓
  35     - tsx                 ✓ ✓ ✓ ✓ ✓
  36     - vimdoc              ✓ . . . ✓
  37     - yaml                ✓ ✓ ✓ ✓ ✓
  38
  39    Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
  40            +) multiple parsers found, only one will be used
  41            x) errors found in the query, try to run :TSUpdate {lang}

Output of nvim --version

0.10.1

Additional context

Setup through cli

image

image

Setup through ensure_installed

image

image

clason commented 1 month ago

Install the tree-sitter CLI, as the error message tells you.