Files
neovim/runtime/lua/vim/treesitter
Stephan Seitz f489d98653 fix(treesitter): do not map hl_group when no mapping is set
This changes the behavior of the hl_cache to the old one.

- when the capture exists as a hlgroup -> use it
- when hl_map contains a mapping -> use it
- else do nothing (before: map capture to non-existing capture)

Before also captures `@foo.bar` would intend to use the hlgroup `foo.bar`
which results in a confusing error since hlgroups can't contain dots.
2021-08-06 22:04:28 +02:00
..
2021-05-01 08:19:48 -04:00
2021-05-01 08:19:48 -04:00
2021-05-01 08:19:48 -04:00