summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/fold.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/fold.lua
parent6b0ddaa9b34fc439fac220146a062a5a168c7d42 (diff)
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/fold.lua')
0 files changed, 0 insertions, 0 deletions