diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-04-12 09:15:50 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-04-13 12:00:34 -0400 |
commit | cf223e7d78df5e8a63b84d423be55a29eefd8883 (patch) | |
tree | 4ea7bb4aca7520a26a749b0958046ba52b450d4f /runtime | |
parent | bdf629775b42c3bc640cfd284d4132a2b06b657b (diff) | |
download | rneovim-cf223e7d78df5e8a63b84d423be55a29eefd8883.tar.gz rneovim-cf223e7d78df5e8a63b84d423be55a29eefd8883.tar.bz2 rneovim-cf223e7d78df5e8a63b84d423be55a29eefd8883.zip |
vim-patch:8.2.0549: user systemd files not recognized
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes vim/vim#5914)
https://github.com/vim/vim/commit/3b922f11380c7dbf94ee45bc09d688b772d9707f
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index dccd0119be..dbdd90041c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2019 Nov 26 +" Last Change: 2020 Apr 12 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1642,9 +1642,11 @@ 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 " Systemd overrides -au BufNewFile,BufRead /etc/systemd/system/*.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 -au BufNewFile,BufRead /etc/systemd/system/*.d/.#* setf systemd +au BufNewFile,BufRead */etc/systemd/system/*.d/.#* setf systemd +au BufNewFile,BufRead */.config/systemd/user/*.d/.#* setf systemd " Synopsys Design Constraints au BufNewFile,BufRead *.sdc setf sdc |