diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-04-18 12:08:27 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-04-18 12:08:27 +0200 |
commit | db7bb8ba22f5798bf3abe9f786bc6e6d002725f8 (patch) | |
tree | c9d2fd8bead22a93f2c0eb0bd8abe14efe32f509 /syntax/elixir.vim | |
parent | aae85fe8c2a5878aee89ff8025306f3142962b5f (diff) | |
download | vim-polyglot-db7bb8ba22f5798bf3abe9f786bc6e6d002725f8.tar.gz vim-polyglot-db7bb8ba22f5798bf3abe9f786bc6e6d002725f8.zip |
Update
Diffstat (limited to 'syntax/elixir.vim')
-rw-r--r-- | syntax/elixir.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/elixir.vim b/syntax/elixir.vim index 22e0e5ed..6570ff5e 100644 --- a/syntax/elixir.vim +++ b/syntax/elixir.vim @@ -149,6 +149,7 @@ syn region elixirDocString matchgroup=elixirDocSigilDelimiter start=+\%(@\w*doc " Defines syn match elixirDefine '\<def\>\(:\)\@!' nextgroup=elixirFunctionDeclaration skipwhite skipnl syn match elixirPrivateDefine '\<defp\>\(:\)\@!' nextgroup=elixirPrivateFunctionDeclaration skipwhite skipnl +syn match elixirNumericalDefine '\<defn\>\(:\)\@!' nextgroup=elixirFunctionDeclaration skipwhite skipnl syn match elixirGuard '\<defguard\>\(:\)\@!' nextgroup=elixirFunctionDeclaration skipwhite skipnl syn match elixirPrivateGuard '\<defguardp\>\(:\)\@!' nextgroup=elixirPrivateFunctionDeclaration skipwhite skipnl syn match elixirModuleDefine '\<defmodule\>\(:\)\@!' nextgroup=elixirModuleDeclaration skipwhite skipnl @@ -191,6 +192,7 @@ syn sync minlines=2000 hi def link elixirBlockDefinition Define hi def link elixirDefine Define hi def link elixirPrivateDefine Define +hi def link elixirNumericalDefine Define hi def link elixirGuard Define hi def link elixirPrivateGuard Define hi def link elixirModuleDefine Define |