summaryrefslogtreecommitdiffstats
path: root/syntax/eelixir.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2022-02-17 04:31:35 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2022-02-17 04:31:45 +0100
commitb77c5f11070ecb2ff343aa18b4ea859e6168f16c (patch)
treec93d347b096ce19556f369428913b697e6aafa00 /syntax/eelixir.vim
parent2c5af8f89d3e61e04e761c07a1f043b0f35203c6 (diff)
downloadvim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.tar.gz
vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.zip
Update
Diffstat (limited to 'syntax/eelixir.vim')
-rw-r--r--syntax/eelixir.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/eelixir.vim b/syntax/eelixir.vim
index 8fbe92a7..0b8669bf 100644
--- a/syntax/eelixir.vim
+++ b/syntax/eelixir.vim
@@ -63,6 +63,8 @@ syn cluster eelixirRegions contains=eelixirBlock,surfaceExpression,eelixirExpres
exe 'syn region eelixirExpression matchgroup=eelixirDelimiter start="<%" end="%\@<!%>" contains=@elixirTop containedin=ALLBUT,@eelixirRegions keepend'
exe 'syn region eelixirExpression matchgroup=eelixirDelimiter start="<%=" end="%\@<!%>" contains=@elixirTop containedin=ALLBUT,@eelixirRegions keepend'
exe 'syn region surfaceExpression matchgroup=surfaceDelimiter start="{{" end="}}" contains=@elixirTop containedin=ALLBUT,@eelixirRegions keepend'
+exe 'syn region surfaceExpression matchgroup=surfaceDelimiter start="{" end="}" contains=@elixirTop containedin=ALLBUT,@eelixirRegions keepend'
+exe 'syn region surfaceExpression matchgroup=surfaceDelimiter start="{" end="}" skip="#{[^}]*}" contains=@elixirTop containedin=htmlValue keepend'
exe 'syn region eelixirQuote matchgroup=eelixirDelimiter start="<%%" end="%\@<!%>" contains=@elixirTop containedin=ALLBUT,@eelixirRegions keepend'
exe 'syn region eelixirComment matchgroup=eelixirDelimiter start="<%#" end="%\@<!%>" contains=elixirTodo,@Spell containedin=ALLBUT,@eelixirRegions keepend'