1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

nvim: fix blade highlight

This commit is contained in:
Henrik Hautakoski 2026-04-14 05:53:03 +02:00
parent deba18e3aa
commit ae2f668782
2 changed files with 8 additions and 7 deletions

View file

@ -244,7 +244,7 @@ local custom_highlights = function(colors)
["@use.trait.name.php"] = { link = "@text" },
-- Blade
["@tag.blade"] = { fg = colors.mauve },
["@directive.blade"] = { link = "PreProc" },
}
end

View file

@ -1,6 +1,7 @@
(directive) @tag
(directive_start) @tag
(directive_end) @tag
(comment) @comment
(bracket_start) @keyword
(bracket_end) @keyword
; inherits: blade
([
(directive)
(directive_start)
(directive_end)
] @directive (#set! "priority" 110))