Fix local hl on `:TSHighlightCapturesUnderCursor` (#61)
This code depended on an internal cache that stored the names, but it was changed to store the idmaster2460f0a702
. There is `nvim_get_hl_by_id`, but that doesn't return the name (just the final values of the colors). So, I'm just duplicating this part6a92a53c02/runtime/lua/vim/treesitter/highlighter.lua (L81-L93)
Fixes https://github.com/nvim-treesitter/playground/issues/60
parent
787a7a8d44
commit
9df82a27a4
Loading…
Reference in New Issue