aboutsummaryrefslogtreecommitdiffstats
path: root/queries/pug
diff options
context:
space:
mode:
authorPham Huy Hoang <hoangtun0810@gmail.com>2024-01-05 03:19:54 +0900
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commitedee83272efe9b597bc27e8060539cdffa3b12a8 (patch)
tree0ee5a346d619b55c932eb87f0a4578d03d4f0116 /queries/pug
parentfeat: query formatting script (diff)
downloadnvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar.gz
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar.bz2
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar.lz
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar.xz
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.tar.zst
nvim-treesitter-edee83272efe9b597bc27e8060539cdffa3b12a8.zip
refactor: manual pre-cleanup
Moving comments, adding `format-ignore` to lines that will be better with it
Diffstat (limited to 'queries/pug')
-rw-r--r--queries/pug/highlights.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/queries/pug/highlights.scm b/queries/pug/highlights.scm
index cdd9d1d83..7ac2c7c63 100644
--- a/queries/pug/highlights.scm
+++ b/queries/pug/highlights.scm
@@ -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