Closed antistic closed 1 year ago
:h treesitter-highlight-groups describes highlight groups such as @comment @comment.lua.
:h treesitter-highlight-groups
@comment
@comment.lua
Lua doesn't allow symbols like @ and . in names, so you can't do:
@
.
local lush = require('lush') return lush(function() return { @comment { }, @comment.lua { }, } end)
For @comment the workaround is using the default link TSComment or Comment instead, but I can't work out if there's a similar workaround for language specific groups.
TSComment
Comment
Dupe #107
See https://github.com/rktjmp/lush.nvim/issues/109 for fix.
:h treesitter-highlight-groups
describes highlight groups such as@comment
@comment.lua
.Lua doesn't allow symbols like
@
and.
in names, so you can't do:For
@comment
the workaround is using the default linkTSComment
orComment
instead, but I can't work out if there's a similar workaround for language specific groups.