diff options
| author | 再生花 <hoangtun0810@gmail.com> | 2024-02-23 17:42:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 10:42:01 +0200 |
| commit | 31641d72a4c33536e9d5fc8f829d2ba84211af8a (patch) | |
| tree | 65d4edd50b87eacb993dab1fd27347d6686d3c0e /queries/yuck | |
| parent | feat(faust): better highlighting of function calls, built-in variables, and m... (diff) | |
| download | nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.gz nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.bz2 nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.lz nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.xz nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.zst nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.zip | |
feat(format-scripts): linewrap predicates
"format-ignore".kick()
Diffstat (limited to 'queries/yuck')
| -rw-r--r-- | queries/yuck/highlights.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/queries/yuck/highlights.scm b/queries/yuck/highlights.scm index 2d5d01c0b..7b9a9d203 100644 --- a/queries/yuck/highlights.scm +++ b/queries/yuck/highlights.scm @@ -13,7 +13,8 @@ (list . (symbol) @keyword - (#any-of? @keyword "defwindow" "defwidget" "defvar" "defpoll" "deflisten" "geometry" "children" "struts")) + (#any-of? @keyword + "defwindow" "defwidget" "defvar" "defpoll" "deflisten" "geometry" "children" "struts")) ; Loop (loop_widget @@ -38,7 +39,10 @@ (list . (symbol) @tag.builtin - (#any-of? @tag.builtin "box" "button" "calendar" "centerbox" "checkbox" "circular-progress" "color-button" "color-chooser" "combo-box-text" "eventbox" "expander" "graph" "image" "input" "label" "literal" "overlay" "progress" "revealer" "scale" "scroll" "transform")) + (#any-of? @tag.builtin + "box" "button" "calendar" "centerbox" "checkbox" "circular-progress" "color-button" + "color-chooser" "combo-box-text" "eventbox" "expander" "graph" "image" "input" "label" "literal" + "overlay" "progress" "revealer" "scale" "scroll" "transform")) ; Variables (ident) @variable @@ -47,7 +51,9 @@ (symbol) @variable) ((ident) @variable.builtin - (#any-of? @variable.builtin "EWW_TEMPS" "EWW_RAM" "EWW_DISK" "EWW_BATTERY" "EWW_CPU" "EWW_NET" "EWW_TIME" "EWW_CONFIG_DIR" "EWW_CMD" "EWW_EXECUTABLE")) + (#any-of? @variable.builtin + "EWW_TEMPS" "EWW_RAM" "EWW_DISK" "EWW_BATTERY" "EWW_CPU" "EWW_NET" "EWW_TIME" "EWW_CONFIG_DIR" + "EWW_CMD" "EWW_EXECUTABLE")) ; Properties (keyword) @property |
