From 93537d699851b35ae8518af17ee858981f5ea6ea Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Mon, 8 Dec 2025 03:37:42 -0800 Subject: feat(bash): remove unnecessary captures - Bash does not have boolean values and the builtin `true` and `false` commands are already covered by another capture. - The grammar has a `number` node and it's already captured. --- runtime/queries/bash/highlights.scm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/runtime/queries/bash/highlights.scm b/runtime/queries/bash/highlights.scm index 6fe370011..118ca6bd2 100644 --- a/runtime/queries/bash/highlights.scm +++ b/runtime/queries/bash/highlights.scm @@ -117,9 +117,6 @@ "SIGRTMAX-12" "SIGRTMAX-11" "SIGRTMAX-10" "SIGRTMAX-9" "SIGRTMAX-8" "SIGRTMAX-7" "SIGRTMAX-6" "SIGRTMAX-5" "SIGRTMAX-4" "SIGRTMAX-3" "SIGRTMAX-2" "SIGRTMAX-1" "SIGRTMAX")) -((word) @boolean - (#any-of? @boolean "true" "false")) - (comment) @comment @spell (test_operator) @operator @@ -190,9 +187,6 @@ (number) @number -((word) @number - (#lua-match? @number "^[0-9]+$")) - (file_redirect (word) @string.special.path) -- cgit v1.2.3-70-g09d2