feat(bash): highlight more builtin commands

Commands:
- `.`
- `:`
- `true`
- `false`
This commit is contained in:
Omar Valdez 2024-10-26 19:23:20 -07:00 committed by Christian Clason
parent 39016abc99
commit 0e65a9f272

View file

@ -169,11 +169,11 @@
(command_name (command_name
(word) @function.builtin (word) @function.builtin
(#any-of? @function.builtin (#any-of? @function.builtin
"alias" "bg" "bind" "break" "builtin" "caller" "cd" "command" "compgen" "complete" "compopt" "." ":" "alias" "bg" "bind" "break" "builtin" "caller" "cd" "command" "compgen" "complete"
"continue" "coproc" "dirs" "disown" "echo" "enable" "eval" "exec" "exit" "fc" "fg" "getopts" "compopt" "continue" "coproc" "dirs" "disown" "echo" "enable" "eval" "exec" "exit" "false" "fc"
"hash" "help" "history" "jobs" "kill" "let" "logout" "mapfile" "popd" "printf" "pushd" "pwd" "fg" "getopts" "hash" "help" "history" "jobs" "kill" "let" "logout" "mapfile" "popd" "printf"
"read" "readarray" "return" "set" "shift" "shopt" "source" "suspend" "test" "time" "times" "pushd" "pwd" "read" "readarray" "return" "set" "shift" "shopt" "source" "suspend" "test" "time"
"trap" "type" "typeset" "ulimit" "umask" "unalias" "wait")) "times" "trap" "true" "type" "typeset" "ulimit" "umask" "unalias" "wait"))
(command (command
argument: [ argument: [