aboutsummaryrefslogtreecommitdiff
path: root/grammars.nix
diff options
context:
space:
mode:
authorMichael Davis2022-06-15 20:25:11 +0000
committerBlaž Hrastnik2022-07-01 09:04:23 +0000
commitbd527c84e64f8a30bb1ae8c4dd634d6deba20825 (patch)
treeb8021102747f60de6a3ad2c6c536c857abeaaf53 /grammars.nix
parentd523280e8533e8d57eda0b9fbc0f076b07002a2b (diff)
erlang: highlight unary '#' as punctuation.bracket
The '#' character may either be interpreted as a map when used like so: %% Example 1 #{a => b} Or as an operator which updates an existing map when the left-hand side is an expression: %% Example 2 MyMap#{a => b} This commit changes the highlight to `punctuation.bracket` when used as a character in a literal map (example 1) and keeps the `operator` highlight when used for updating (example 2).
Diffstat (limited to 'grammars.nix')
0 files changed, 0 insertions, 0 deletions