rc: Highlight systemd
files in a dedicated script
This commit is contained in:
parent
5f825cf0f5
commit
64c7f8c564
|
@ -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
9
rc/extra/systemd.kak
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user