Closed Desloz closed 1 year ago
By the way, for those who wish to address the issue in their configuration temporarily, until the fix is available:
require("nightfox").setup({
groups = {
all = {
["@label.json"] = { fg = "syntax.func" },
}
}
})
Thanks for the PR LGTM!
Within the Treesitter module, the group
@label.json
was previously usingfg = spec.func
to color JSON labels as functions.However the spec
func
is nested inspec.syntax.func
not inspec.func
, which caused incorrect highlighting of JSON labels.By using
syn.func
, which correctly points tospec.syntax.func
, the issue is now resolved.Before commit
After commit