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
This commit is contained in:
Parasrah 2020-08-12 19:14:27 -06:00
parent c9d4bc9677
commit 151fe01a5c
No known key found for this signature in database
GPG Key ID: D0C65EACF6656DA4

View File

@ -52,7 +52,6 @@ add-highlighter shared/eex/code region '<%=?' '%>' ref elixir
} }
provide-module elixir %[ provide-module elixir %[
require-module eex
# Highlighters # Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾‾‾‾‾