summaryrefslogtreecommitdiff
path: root/app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch')
-rw-r--r--app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch b/app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch
new file mode 100644
index 000000000000..d7b9083a4281
--- /dev/null
+++ b/app-editors/kakoune/files/kakoune-2020.09.01-enable-ebuild-syntax-highlight.patch
@@ -0,0 +1,10 @@
+diff --git a/rc/filetype/gentoo-linux.kak b/rc/filetype/gentoo-linux.kak
+new file mode 100644
+index 00000000..251dad16
+--- /dev/null
++++ b/rc/filetype/gentoo-linux.kak
+@@ -0,0 +1,4 @@
++# portage ebuild file
++hook global BufCreate .*\.ebuild %{
++ set-option buffer filetype sh
++}