mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Update surface version, fix highlights
This commit is contained in:
parent
a9e32d0cc5
commit
ca7a682aff
1 changed files with 5 additions and 7 deletions
|
|
@ -8,7 +8,7 @@
|
|||
(attribute_name) @tag.attribute
|
||||
|
||||
; Attributes are highlighted as strings
|
||||
(attribute_value) @string
|
||||
(quoted_attribute_value) @string
|
||||
|
||||
; Surface blocks are highlighted as keywords
|
||||
[
|
||||
|
|
@ -25,14 +25,12 @@
|
|||
"/>"
|
||||
"{"
|
||||
"}"
|
||||
"<!--"
|
||||
"-->"
|
||||
"{!--"
|
||||
"--}"
|
||||
] @tag.delimiter
|
||||
|
||||
; Expressions are similar to string interpolation, and are highloghted as such
|
||||
(expression) @punctuation.special
|
||||
|
||||
; Expressions should be highlighted as Elixir, fallback to special strings
|
||||
(expression_value) @string.special
|
||||
|
||||
; Surface tags are highlighted as HTML
|
||||
(tag_name) @tag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue