use special.string.symbol instead of symbol
this aligns better with how ruby highlights symbols
commit80b54f2f69165897bfab376d031fab8e040331b6
authorMichael Davis <mcarsondavis@gmail.com>
dateThu 14 Oct 2021, 13:58 (5 years ago)
parent8f658f0
book/src/themes.md+1−2
@@ -119,8 +119,7 @@ We use a similar set of scopes as
119119 - `special`
120120 - `path`
121121 - `url`
122−
123−- `symbol` - Elixir atoms, Ruby symbols, Clojure keywords
122+ - `symbol` - Erlang/Elixir atoms, Ruby symbols, Clojure keywords
124123
125124- `comment` - Code comments
126125 - `line` - Single line comments (`//`)
runtime/queries/elixir/highlights.scm+1−1
@@ -97,7 +97,7 @@
9797 (quoted_atom)
9898 (keyword)
9999 (quoted_keyword)
100−] @symbol
100+] @string.special.symbol
101101
102102[
103103 (string)