From 151fe01a5caa433193f68b515c2c7d959182283c Mon Sep 17 00:00:00 2001 From: Parasrah Date: Wed, 12 Aug 2020 19:14:27 -0600 Subject: [PATCH] fix #3651 Similar to Jinja, getting `eex` highlighting in *.ex files will require users to setup a filetype hook similar to the following: hook global WinSetOption filetype=elixir %{ require-module eex add-highlighter window/eex ref eex } This is done both to fix a circular dependency between the `elixir` and `eex` modules, and avoid polluting `elixir` files with false positives from `eex` highlighting given `eex` is framework specific --- rc/filetype/elixir.kak | 1 - 1 file changed, 1 deletion(-) diff --git a/rc/filetype/elixir.kak b/rc/filetype/elixir.kak index 8d345309..7e8b1ccc 100644 --- a/rc/filetype/elixir.kak +++ b/rc/filetype/elixir.kak @@ -52,7 +52,6 @@ add-highlighter shared/eex/code region '<%=?' '%>' ref elixir } provide-module elixir %[ -require-module eex # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾