Skip to content

Commit

Permalink
use special.string.symbol instead of symbol
Browse files Browse the repository at this point in the history
this aligns better with how ruby highlights symbols
  • Loading branch information
the-mikedavis committed Oct 14, 2021
1 parent 09be970 commit 39f24f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions book/src/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ We use a similar set of scopes as
- `special`
- `path`
- `url`

- `symbol` - Elixir atoms, Ruby symbols, Clojure keywords
- `symbol` - Erlang/Elixir atoms, Ruby symbols, Clojure keywords

- `comment` - Code comments
- `line` - Single line comments (`//`)
Expand Down
2 changes: 1 addition & 1 deletion runtime/queries/elixir/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
(quoted_atom)
(keyword)
(quoted_keyword)
] @symbol
] @string.special.symbol

[
(string)
Expand Down

0 comments on commit 39f24f7

Please sign in to comment.