aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-29 19:31:26 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-05-03 13:16:38 -0400
commit560ce2535914cc45fe5c12fdd09665dd24a80310 (patch)
treeebbb9ef983ab9897ee1f0319740f0ce3acb00ba0 /runtime
parenta89d64b68760094f9da3b8b10442c1f86942351c (diff)
downloadrneovim-560ce2535914cc45fe5c12fdd09665dd24a80310.tar.gz
rneovim-560ce2535914cc45fe5c12fdd09665dd24a80310.tar.bz2
rneovim-560ce2535914cc45fe5c12fdd09665dd24a80310.zip
vim-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 vim/vim#6003) https://github.com/vim/vim/commit/512fe833c3988bfe0de22135aef67faf51927a0e
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 5068f9be76..dc0bca2c60 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 12
+" Last Change: 2020 Apr 29
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@@ -1646,7 +1646,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