Merge remote-tracking branch 'lenormf/syntax-systemd'

This commit is contained in:
Maxime Coste 2018-07-25 21:11:08 +10:00
commit 47666ba20b
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
hook global BufCreate .*\.(repo|service|timer|target|socket|ini|cfg|properties) %{
hook global BufCreate .+\.(repo|ini|cfg|properties) %{
set-option buffer filetype ini
}

9
rc/extra/systemd.kak Normal file
View File

@ -0,0 +1,9 @@
# https://freedesktop.org/wiki/Software/systemd/
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# Detection
# ‾‾‾‾‾‾‾‾‾
hook global BufCreate .+\.(automount|conf|link|mount|network|path|service|slice|socket|target|timer) %{
set-option buffer filetype ini
}