diff --git a/queries/racket/highlights.scm b/queries/racket/highlights.scm index af06503342b..cb553cec443 100644 --- a/queries/racket/highlights.scm +++ b/queries/racket/highlights.scm @@ -25,6 +25,8 @@ (regex) @string.regex +((string) @symbol (#has-ancestor? @symbol quote)) + ;; comment ;; [(comment) @@ -41,6 +43,8 @@ ((symbol) @comment (#lua-match? @comment "^#[cC][iIsS]$")) +((symbol) @symbol (#has-ancestor? @symbol quote)) + ;; extension ;; (extension) @keyword @@ -58,7 +62,7 @@ (list . - (symbol) @function) + (symbol) @function (#not-has-ancestor? @function quote)) ;;------------------------------------------------------------------;; ;; Builtin highlights ;;