From 352831229f78c6af514ceccedd2db48acffd117f Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 24 Jun 2020 04:18:06 -0400 Subject: 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 --- runtime/filetype.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') 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 -- cgit