Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/bass/highlights.scm')
| -rw-r--r-- | runtime/queries/bass/highlights.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/runtime/queries/bass/highlights.scm b/runtime/queries/bass/highlights.scm index e0d67350..f8b70fc1 100644 --- a/runtime/queries/bass/highlights.scm +++ b/runtime/queries/bass/highlights.scm @@ -38,17 +38,6 @@ (subpath (slash) @function) -;;; generic highlighting for all forms - -; first symbol in a list form is a combiner call -(list . (symbol) @function) - -; highlight symbols as vars only when they're clearly vars -(cons (symbol) @variable) -(scope (symbol) @variable) -(path form: (symbol) @variable) -(symbind form: (symbol) @variable) - ;;; specific highlighting for builtins & special forms @@ -99,3 +88,14 @@ . (_) (symbol) @function) + +;;; generic highlighting for all forms + +; first symbol in a list form is a combiner call +(list . (symbol) @function) + +; highlight symbols as vars only when they're clearly vars +(cons (symbol) @variable) +(scope (symbol) @variable) +(path form: (symbol) @variable) +(symbind form: (symbol) @variable) |