aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-06-24 04:18:06 -0400
committerGitHub <noreply@github.com>2020-06-24 10:18:06 +0200
commit352831229f78c6af514ceccedd2db48acffd117f (patch)
treea0e03a6cb7f3af61cfc5b0e3c3060b321ca67fd7 /runtime
parent30b02a1bee1a8cece089c7243548ef2cf5fb17bc (diff)
downloadrneovim-352831229f78c6af514ceccedd2db48acffd117f.tar.gz
rneovim-352831229f78c6af514ceccedd2db48acffd117f.tar.bz2
rneovim-352831229f78c6af514ceccedd2db48acffd117f.zip
vim-patch:8.2.1044: not all systemd file types are recognized (#12527)
Problem: Not all systemd file types are recognized. Solution: Match several more files. (Guido Cella, closes vim/vim#6319) https://github.com/vim/vim/commit/ef6d86c173becdf82b7a9a1329342c9368340def
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 12a5ca729d..6f31eeb832 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1651,8 +1651,9 @@ au BufNewFile,BufRead *.sil setf sil
au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl
" Systemd unit files
-au BufNewFile,BufRead */systemd/*.{automount,mount,path,service,socket,swap,target,timer} setf systemd
+au BufNewFile,BufRead */systemd/*.{automount,dnssd,link,mount,netdev,network,nspawn,path,service,slice,socket,swap,target,timer} setf systemd
" Systemd overrides
+au BufNewFile,BufRead */etc/systemd/*.conf.d/*.conf setf systemd
au BufNewFile,BufRead */etc/systemd/system/*.d/*.conf setf systemd
au BufNewFile,BufRead */.config/systemd/user/*.d/*.conf setf systemd
" Systemd temp files