Tweak HTML indents and highlights
This commit is contained in:
parent
e4f5e85c3c
commit
21fb2b9bf1
5 changed files with 16 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
|||
(tag_name) @keyword
|
||||
(erroneous_end_tag_name) @keyword
|
||||
(doctype) @constant
|
||||
(attribute_name) @property
|
||||
(attribute_value) @string
|
||||
(comment) @comment
|
||||
|
||||
"=" @operator
|
||||
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
"</"
|
||||
"/>"
|
||||
] @punctuation.bracket
|
|
@ -1 +1,6 @@
|
|||
(tag_name) @indent
|
||||
(start_tag ">" @end) @indent
|
||||
(self_closing_tag "/>" @end) @indent
|
||||
|
||||
(element
|
||||
(start_tag) @start
|
||||
(end_tag)? @end) @indent
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
(script_element
|
||||
(raw_text) @content
|
||||
(#set! "language" "javascript"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue