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" }, ["@use.trait.name.php"] = { link = "@text" },
-- Blade -- Blade
["@tag.blade"] = { fg = colors.mauve }, ["@directive.blade"] = { link = "PreProc" },
} }
end end

View file

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