We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996b8aa commit bd7045eCopy full SHA for bd7045e
rc/filetype/erlang.kak
@@ -6,7 +6,7 @@
6
7
# Detection
8
# ‾‾‾‾‾‾‾‾‾
9
-hook global BufCreate .*[.](erl|hrl) %{
+hook global BufCreate .*[.](erl|escript|hrl) %{
10
set-option buffer filetype erlang
11
}
12
@@ -31,6 +31,7 @@ provide-module erlang %[
31
add-highlighter shared/erlang regions
32
add-highlighter shared/erlang/default default-region group
33
34
+add-highlighter shared/erlang/shebang region ^#! $ fill meta
35
add-highlighter shared/erlang/comment region '(?<!\$)%' '$' fill comment
36
add-highlighter shared/erlang/attribute_atom_single_quoted region %{-'} %{(?<!\\)(?:\\\\)*'(?=[\( \.])} fill builtin
37
add-highlighter shared/erlang/attribute region '\b-[a-z][\w@]*(?=[\( \.])' '\K' fill builtin
0 commit comments