Last active
May 25, 2020 12:50
-
-
Save egze/07721af578b18d349f0e8571f115d6aa to your computer and use it in GitHub Desktop.
LiveView syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ name = 'string.quoted.other.sigil.live_view'; | |
comment = 'live_view sigil (allow for interpolation)'; | |
begin = '\s?(~L""")$'; | |
end = '^\s*("""[a-z]*)$'; | |
beginCaptures = { 0 = { name = 'punctuation.definition.string.begin.elixir'; }; }; | |
endCaptures = { 0 = { name = 'punctuation.definition.string.end.elixir'; }; }; | |
patterns = ( | |
{ include = 'text.elixir'; }, | |
{ include = 'text.html.basic'; }, | |
{ include = '#meta.embedded.line.elixir'; }, | |
); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment