aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-10-25 13:34:22 -0700
committerChristian Clason <ch.clason+github@icloud.com>2024-10-26 10:07:30 +0200
commit674100c1fc31d660e2bfb41c19313a72c32ca008 (patch)
treeb97e253671a120a8ac1d9fba832eb5d1cd3d9b0d /queries
parentfeat(desktop): desktop parser and queries (#7282) (diff)
downloadnvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar.gz
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar.bz2
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar.lz
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar.xz
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.tar.zst
nvim-treesitter-674100c1fc31d660e2bfb41c19313a72c32ca008.zip
fix(formatter): simplify code, remove odd line break
Diffstat (limited to 'queries')
-rw-r--r--queries/gdscript/highlights.scm3
-rw-r--r--queries/helm/highlights.scm3
-rw-r--r--queries/ispc/highlights.scm3
-rw-r--r--queries/nix/highlights.scm3
-rw-r--r--queries/powershell/highlights.scm3
5 files changed, 5 insertions, 10 deletions
diff --git a/queries/gdscript/highlights.scm b/queries/gdscript/highlights.scm
index bc62bc2f5..b7670f73b 100644
--- a/queries/gdscript/highlights.scm
+++ b/queries/gdscript/highlights.scm
@@ -302,8 +302,7 @@
"var_to_str" "weakref" "wrap" "wrapf" "wrapi"
; from modules/gdscript/doc_classes/@GDScript.xml
"Color8" "assert" "char" "convert" "dict_to_inst" "get_stack" "inst_to_dict" "is_instance_of"
- "len" "load" "preload" "print_debug" "print_stack" "range" "type_exists")
- )
+ "len" "load" "preload" "print_debug" "print_stack" "range" "type_exists"))
; Builtin Constants
((identifier) @constant.builtin
diff --git a/queries/helm/highlights.scm b/queries/helm/highlights.scm
index f9af8a596..e9d221bee 100644
--- a/queries/helm/highlights.scm
+++ b/queries/helm/highlights.scm
@@ -29,8 +29,7 @@
"mod" "mul" "max" "min" "len" "addf" "add1f" "subf" "divf" "mulf" "maxf" "minf" "floor" "ceil"
"round" "getHostByName" "base" "dir" "clean" "ext" "isAbs" "kindOf" "kindIs" "typeOf" "typeIs"
"typeIsLike" "deepequal" "semver" "semverCompare" "urlParse" "urlJoin" "urlquery" "lookup"
- "include")
- )
+ "include"))
; {{ .Values.test }}
(selector_expression
diff --git a/queries/ispc/highlights.scm b/queries/ispc/highlights.scm
index 14e614260..fd9c7262e 100644
--- a/queries/ispc/highlights.scm
+++ b/queries/ispc/highlights.scm
@@ -107,5 +107,4 @@
"reduce_max" "reduce_min" "rotate" "round" "rsqrt" "rsqrt_fast" "saturating_add"
"saturating_div" "saturating_mul" "saturating_sub" "seed_rng" "select" "shift" "shuffle"
"signbits" "sign_extend" "sin" "sincos" "soa_to_aos2" "soa_to_aos3" "soa_to_aos4" "sqrt"
- "streaming_load" "streaming_load_uniform" "streaming_store" "tan" "trunc")
- )
+ "streaming_load" "streaming_load_uniform" "streaming_store" "tan" "trunc"))
diff --git a/queries/nix/highlights.scm b/queries/nix/highlights.scm
index 0a0d9ac6f..7cdcc3e1d 100644
--- a/queries/nix/highlights.scm
+++ b/queries/nix/highlights.scm
@@ -129,8 +129,7 @@
"__currentSystem" "__hashFile" "__path" "__unsafeDiscardOutputDependency" "__currentTime"
"__hashString" "__pathExists" "__unsafeDiscardStringContext" "__deepSeq" "__head" "__readDir"
"__unsafeGetAttrPos" "__div" "__intersectAttrs" "__readFile" "__zipAttrsWith" "__elem"
- "__isAttrs" "__replaceStrings" "__elemAt" "__isBool" "__seq" "__fetchurl" "__isFloat" "__sort")
- )
+ "__isAttrs" "__replaceStrings" "__elemAt" "__isBool" "__seq" "__fetchurl" "__isFloat" "__sort"))
; constants
(variable_expression
diff --git a/queries/powershell/highlights.scm b/queries/powershell/highlights.scm
index 3885ba833..6081e8f1b 100644
--- a/queries/powershell/highlights.scm
+++ b/queries/powershell/highlights.scm
@@ -239,8 +239,7 @@
"System.Management.Automation.PSScriptCmdlet" "Management.Automation.ErrorRecord"
"System.Management.Automation.ErrorRecord" "Management.Automation.PSCredential"
"System.Management.Automation.PSCredential" "Management.Automation.PSMethod"
- "System.Management.Automation.PSMethod")
- )
+ "System.Management.Automation.PSMethod"))
; Function definitions
;---------------------