diff --git a/rc/filetype/elixir.kak b/rc/filetype/elixir.kak index e62ca429..0c40aeb9 100644 --- a/rc/filetype/elixir.kak +++ b/rc/filetype/elixir.kak @@ -74,7 +74,7 @@ add-highlighter shared/elixir/code/ regex '[A-Z][\w_]+\b' 0:module add-highlighter shared/elixir/code/ regex '(:[\w_]+)(\.)' 1:module add-highlighter shared/elixir/code/ regex '\b_\b' 0:default add-highlighter shared/elixir/code/ regex '\b_[\w_]+\b' 0:default -add-highlighter shared/elixir/code/ regex '~[a-zA-Z]\(.*\)' 0:string +add-highlighter shared/elixir/code/ regex '~[a-zA-Z]\(.*?[^\\]\)' 0:string add-highlighter shared/elixir/code/ regex \b(true|false|nil)\b 0:value add-highlighter shared/elixir/code/ regex (->|<-|<<|>>|=>) 0:builtin add-highlighter shared/elixir/code/ regex \b(require|alias|use|import)\b 0:keyword