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/bass | |
| 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/bass')
| -rw-r--r-- | queries/bass/highlights.scm | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/queries/bass/highlights.scm b/queries/bass/highlights.scm index 8a92a59e9..f84993af1 100644 --- a/queries/bass/highlights.scm +++ b/queries/bass/highlights.scm @@ -55,10 +55,23 @@ (#any-of? @keyword.function "def" "defop" "defn" "fn")) ((symbol) @function.builtin - (#any-of? @function.builtin "dump" "mkfs" "json" "log" "error" "now" "cons" "wrap" "unwrap" "eval" "make-scope" "bind" "meta" "with-meta" "null?" "ignore?" "boolean?" "number?" "string?" "symbol?" "scope?" "sink?" "source?" "list?" "pair?" "applicative?" "operative?" "combiner?" "path?" "empty?" "thunk?" "+" "*" "quot" "-" "max" "min" "=" ">" ">=" "<" "<=" "list->source" "across" "emit" "next" "reduce-kv" "assoc" "symbol->string" "string->symbol" "str" "substring" "trim" "scope->list" "string->fs-path" "string->cmd-path" "string->dir" "subpath" "path-name" "path-stem" "with-image" "with-dir" "with-args" "with-cmd" "with-stdin" "with-env" "with-insecure" "with-label" "with-port" "with-tls" "with-mount" "thunk-cmd" "thunk-args" "resolve" "start" "addr" "wait" "read" "cache-dir" "binds?" "recall-memo" "store-memo" "mask" "list" "list*" "first" "rest" "length" "second" "third" "map" "map-pairs" "foldr" "foldl" "append" "filter" "conj" "list->scope" "merge" "apply" "id" "always" "vals" "keys" "memo" "succeeds?" "run" "last" "take" "take-all" "insecure!" "from" "cd" "wrap-cmd" "mkfile" "path-base" "not")) + (#any-of? @function.builtin + "dump" "mkfs" "json" "log" "error" "now" "cons" "wrap" "unwrap" "eval" "make-scope" "bind" + "meta" "with-meta" "null?" "ignore?" "boolean?" "number?" "string?" "symbol?" "scope?" "sink?" + "source?" "list?" "pair?" "applicative?" "operative?" "combiner?" "path?" "empty?" "thunk?" "+" + "*" "quot" "-" "max" "min" "=" ">" ">=" "<" "<=" "list->source" "across" "emit" "next" + "reduce-kv" "assoc" "symbol->string" "string->symbol" "str" "substring" "trim" "scope->list" + "string->fs-path" "string->cmd-path" "string->dir" "subpath" "path-name" "path-stem" + "with-image" "with-dir" "with-args" "with-cmd" "with-stdin" "with-env" "with-insecure" + "with-label" "with-port" "with-tls" "with-mount" "thunk-cmd" "thunk-args" "resolve" "start" + "addr" "wait" "read" "cache-dir" "binds?" "recall-memo" "store-memo" "mask" "list" "list*" + "first" "rest" "length" "second" "third" "map" "map-pairs" "foldr" "foldl" "append" "filter" + "conj" "list->scope" "merge" "apply" "id" "always" "vals" "keys" "memo" "succeeds?" "run" "last" + "take" "take-all" "insecure!" "from" "cd" "wrap-cmd" "mkfile" "path-base" "not")) ((symbol) @function.macro - (#any-of? @function.macro "op" "current-scope" "quote" "let" "provide" "module" "or" "and" "curryfn" "for" "$" "linux")) + (#any-of? @function.macro + "op" "current-scope" "quote" "let" "provide" "module" "or" "and" "curryfn" "for" "$" "linux")) ; Conditionals ((symbol) @keyword.conditional |
