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:
parent
deba18e3aa
commit
ae2f668782
2 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue