From 7fc0f9d212c7091fc17cd2e91eea8a96bacd30d3 Mon Sep 17 00:00:00 2001 From: Parasrah Date: Thu, 2 Dec 2021 17:49:28 -0700 Subject: [PATCH] update sigil highlighter to be less error prone --- rc/filetype/elixir.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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