summaryrefslogtreecommitdiff
path: root/app-editors/kakoune/files/kakoune-2020.01.16-enable-ebuild-syntax-highlight.patch
blob: 726968e0e8c6507f2aba80e39615989ed856398e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur a/rc/filetype/sh.kak b/rc/filetype/sh.kak
--- a/rc/filetype/sh.kak	2020-01-16 11:52:20.000000000 +0200
+++ b/rc/filetype/sh.kak	2020-05-25 15:50:20.417809942 +0300
@@ -2,6 +2,11 @@
     set-option buffer filetype sh
 }
 
+hook global BufCreate .*\.ebuild %{
+    set-option buffer filetype sh
+}
+
+
 hook global WinSetOption filetype=sh %{
     require-module sh
     set-option window static_words %opt{sh_static_words}