diff options
Diffstat (limited to 'plugins/language_elixir.lua')
-rw-r--r-- | plugins/language_elixir.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/language_elixir.lua b/plugins/language_elixir.lua index 8f47770..49da053 100644 --- a/plugins/language_elixir.lua +++ b/plugins/language_elixir.lua @@ -11,6 +11,7 @@ syntax.add { { pattern = { '"""', '"""', '\\' }, type = "string" }, { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, + { pattern = { '~%a"""', '"""' }, type = "string" }, { pattern = { '~%a[/"|\'%(%[%{<]', '[/"|\'%)%]%}>]', '\\' }, type = "string"}, { pattern = "-?0x%x+", type = "number" }, { pattern = "-?%d+[%d%.eE]*f?", type = "number" }, @@ -74,7 +75,7 @@ syntax.add { } syntax.add { - files = { "%.l?eex$" }, + files = { "%.l?eex$", "%.h?eex$" }, patterns = { { pattern = { "<!%-%-", "%-%->" }, type = "comment" }, { pattern = { '%f[^>][^<]', '%f[<]' }, type = "normal" }, |