aboutsummaryrefslogtreecommitdiffstats
path: root/queries/bash
diff options
context:
space:
mode:
Diffstat (limited to 'queries/bash')
-rw-r--r--queries/bash/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm
index 9b2921e66..2c23efc3f 100644
--- a/queries/bash/highlights.scm
+++ b/queries/bash/highlights.scm
@@ -90,7 +90,9 @@
(command_name (word) @function)
((command_name (word) @function.builtin)
- (#match? @function.builtin "^(cd|echo|eval|exit|getopts|pushd|popd|return|set|shift)$"))
+ (#any-of? @function.builtin
+ "cd" "echo" "eval" "exit" "getopts"
+ "pushd" "popd" "return" "set" "shift"))
(command
argument: [