Mercurial > vim
diff runtime/filetype.vim @ 20215:ca9c2be2334a v8.2.0663
patch 8.2.0663: not all systemd temp files are recognized
Commit: https://github.com/vim/vim/commit/512fe833c3988bfe0de22135aef67faf51927a0e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 29 23:02:40 2020 +0200
patch 8.2.0663: not all systemd temp files are recognized
Problem: Not all systemd temp files are recognized.
Solution: Add two more patterns. (Jamie Macdonald, closes https://github.com/vim/vim/issues/6003)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 Apr 2020 23:15:03 +0200 |
parents | bd021eb62e73 |
children | 190ffc6453d4 |
line wrap: on
line diff
--- 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/syst 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