web-mode icon indicating copy to clipboard operation
web-mode copied to clipboard

[ Elixir ] Match atoms, variables and function names before keywords

Open wkirschbaum opened this issue 3 years ago • 1 comments

When using a @for variable, the font is wrong. Similarly with :for etc..

Moving the keyword and constants down the list means it will match it first. It also makes it not jump colours when choosing variable names like @form between r and m.

wkirschbaum avatar Aug 29 '21 19:08 wkirschbaum

@fxbois this is also valid syntax with .heex templates, but not sure if it is good to modify the opening tag for everything. do you perhaps have any suggestions?

<.form let={f} for={:test}>
  Hello Heex!
</.form>

wkirschbaum avatar Aug 29 '21 19:08 wkirschbaum

thx

fxbois avatar Aug 19 '22 09:08 fxbois