mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
https://github.com/neovim/neovim/pull/19931 adds direct support for highlighting capture groups (with fallback), obviating the need for `vim.treesitter.highlighter.hl_map`. Instead of `hl_map["@keyword"] = "TSKeyword"` users can simply `hi link TSKeyword @keyword` Check for the existence of `hl_map` and either use the former or the latter. |
||
|---|---|---|
| .. | ||
| nvim-treesitter | ||
| nvim-treesitter.lua | ||