diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-29 23:02:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-29 23:02:40 +0200 |
commit | 512fe833c3988bfe0de22135aef67faf51927a0e (patch) | |
tree | a20d15502691837218e1f585d4e6924cc54120cb /runtime/filetype.vim | |
parent | dfc33a665d3b12689aa971575b8e7de4e5202d83 (diff) |
patch 8.2.0663: not all systemd temp files are recognizedv8.2.0663
Problem: Not all systemd temp files are recognized.
Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d5d8115ca1..9fe4ecfe57 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: 2020 Apr 17 +" Last Change: 2020 Apr 29 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -1650,7 +1650,9 @@ 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/.#* setf systemd au BufNewFile,BufRead */.config/systemd/user/*.d/.#* setf systemd +au BufNewFile,BufRead */.config/systemd/user/.#* setf systemd " Synopsys Design Constraints au BufNewFile,BufRead *.sdc setf sdc |