aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-treesitter.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-08-25 15:55:19 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-08-26 06:04:07 -0700
commit1baf751fb0b03015c4c9883a87923cc4a7a4812e (patch)
treef5066af1d959882e6ef6dabb33fc5df5aa90d19f /lua/nvim-treesitter.lua
parentfeat: allow to fold markdown sections (diff)
downloadnvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar.gz
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar.bz2
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar.lz
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar.xz
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.tar.zst
nvim-treesitter-1baf751fb0b03015c4c9883a87923cc4a7a4812e.zip
fix(hl_map): adapt to upstream changes on master
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.
Diffstat (limited to 'lua/nvim-treesitter.lua')
0 files changed, 0 insertions, 0 deletions