mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
refactor: manual pre-cleanup
Moving comments, adding `format-ignore` to lines that will be better with it
This commit is contained in:
parent
15de22a2e1
commit
edee83272e
37 changed files with 1656 additions and 1595 deletions
|
|
@ -2,18 +2,19 @@
|
|||
|
||||
(tag_name) @tag
|
||||
((tag_name) @constant.builtin
|
||||
; https://www.script-example.com/html-tag-liste
|
||||
(#any-of? @constant.builtin
|
||||
"head" "title" "base" "link" "meta" "style"
|
||||
"body" "article" "section" "nav" "aside" "h1" "h2" "h3" "h4" "h5" "h6" "hgroup" "header" "footer" "address"
|
||||
"p" "hr" "pre" "blockquote" "ol" "ul" "menu" "li" "dl" "dt" "dd" "figure" "figcaption" "main" "div"
|
||||
"a" "em" "strong" "small" "s" "cite" "q" "dfn" "abbr" "ruby" "rt" "rp" "data" "time" "code" "var" "samp" "kbd" "sub" "sup" "i" "b" "u" "mark" "bdi" "bdo" "span" "br" "wbr"
|
||||
"ins" "del"
|
||||
"picture" "source" "img" "iframe" "embed" "object" "param" "video" "audio" "track" "map" "area"
|
||||
"table" "caption" "colgroup" "col" "tbody" "thead" "tfoot" "tr" "td" "th "
|
||||
"form" "label" "input" "button" "select" "datalist" "optgroup" "option" "textarea" "output" "progress" "meter" "fieldset" "legend"
|
||||
"details" "summary" "dialog"
|
||||
"script" "noscript" "template" "slot" "canvas"))
|
||||
; https://www.script-example.com/html-tag-liste
|
||||
; format-ignore
|
||||
(#any-of? @constant.builtin
|
||||
"head" "title" "base" "link" "meta" "style"
|
||||
"body" "article" "section" "nav" "aside" "h1" "h2" "h3" "h4" "h5" "h6" "hgroup" "header" "footer" "address"
|
||||
"p" "hr" "pre" "blockquote" "ol" "ul" "menu" "li" "dl" "dt" "dd" "figure" "figcaption" "main" "div"
|
||||
"a" "em" "strong" "small" "s" "cite" "q" "dfn" "abbr" "ruby" "rt" "rp" "data" "time" "code" "var" "samp" "kbd" "sub" "sup" "i" "b" "u" "mark" "bdi" "bdo" "span" "br" "wbr"
|
||||
"ins" "del"
|
||||
"picture" "source" "img" "iframe" "embed" "object" "param" "video" "audio" "track" "map" "area"
|
||||
"table" "caption" "colgroup" "col" "tbody" "thead" "tfoot" "tr" "td" "th "
|
||||
"form" "label" "input" "button" "select" "datalist" "optgroup" "option" "textarea" "output" "progress" "meter" "fieldset" "legend"
|
||||
"details" "summary" "dialog"
|
||||
"script" "noscript" "template" "slot" "canvas"))
|
||||
|
||||
(id) @constant
|
||||
(class) @property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue