helix-mods/runtime/queries/erlang
Michael Davis bd527c84e6 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).
2022-07-01 11:04:23 +02:00
..
highlights.scm erlang: highlight unary '#' as punctuation.bracket 2022-07-01 11:04:23 +02:00
injections.scm add tree-sitter-edoc (#2640) 2022-06-03 07:41:17 +08:00
textobjects.scm add test textobjects queries for erlang,gleam,go,python,rust 2022-06-21 11:32:03 -05:00