Skip to content

Commit

Permalink
Racket: mark all quoted symbols as @symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
17451k committed Sep 13, 2023
1 parent 15d327f commit 346c07e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion queries/racket/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

(regex) @string.regex

((string) @symbol (#has-ancestor? @symbol quote))

;; comment ;;

[(comment)
Expand All @@ -41,6 +43,8 @@
((symbol) @comment
(#lua-match? @comment "^#[cC][iIsS]$"))

((symbol) @symbol (#has-ancestor? @symbol quote))

;; extension ;;

(extension) @keyword
Expand All @@ -58,7 +62,7 @@

(list
.
(symbol) @function)
(symbol) @function (#not-has-ancestor? @function quote))

;;------------------------------------------------------------------;;
;; Builtin highlights ;;
Expand Down

0 comments on commit 346c07e

Please sign in to comment.