Closed itmecho closed 1 year ago
Thanks for the parser!
I'm having an issue where the contents of the style tags aren't getting highlighted
Neovim version:
NVIM v0.9.0-dev-162+g40791f8e8 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Treesitter healthcheck:
nvim-treesitter: require("nvim-treesitter.health").check() ======================================================================== ## Installation - WARNING: `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall) - OK: `node` found v18.4.0 (only needed for :TSInstallFromGrammar) - OK: `git` executable found. - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: cc (GCC) 10.2.1 20201203 - 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 - lua ✓ ✓ ✓ ✓ ✓ - markdown ✓ . ✓ . ✓ - toml ✓ ✓ ✓ ✓ ✓ - dockerfile ✓ . . . ✓ - c ✓ ✓ ✓ ✓ ✓ - rust ✓ ✓ ✓ ✓ ✓ - gomod ✓ . . . ✓ - proto ✓ . ✓ . . - fish ✓ ✓ ✓ ✓ ✓ - svelte ✓ . ✓ ✓ ✓ - help ✓ . . . . - javascript ✓ ✓ ✓ ✓ ✓ - tsx ✓ ✓ ✓ ✓ ✓ - hcl ✓ . ✓ ✓ ✓ - norg ✓ . ✓ . ✓ - astro ✓ ✓ ✓ ✓ ✓ - norg_meta ✓ . . ✓ . - go ✓ ✓ ✓ ✓ ✓ - yaml ✓ ✓ ✓ ✓ ✓ - typescript ✓ ✓ ✓ ✓ ✓ - vim ✓ ✓ ✓ . ✓ - html ✓ ✓ ✓ ✓ ✓ 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}
Turns out if you don't have the css parser installed you won't get highlighting...
css
Sorry for the noise, just user error!
Thanks for the parser!
I'm having an issue where the contents of the style tags aren't getting highlighted
Neovim version:
Treesitter healthcheck: