From abadb687fb76b9ef34c5df7f6da88fdf0a20577b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 10 Jun 2020 22:39:57 -0400 Subject: vim-patch:8.2.0954: not all desktop files are recognized Problem: Not all desktop files are recognized. Solution: Add the *.directory pattern. (Eisuke Kawashima, closes vim/vim#3317) https://github.com/vim/vim/commit/f1f0ff9557353c9a452aac8540411a88cf2da47c --- runtime/filetype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 141008a5ab..2ba80a7d3b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -458,7 +458,7 @@ au BufNewFile,BufRead *.desc setf desc au BufNewFile,BufRead *.d call dist#ft#DtraceCheck() " Desktop files -au BufNewFile,BufRead *.desktop,.directory setf desktop +au BufNewFile,BufRead *.desktop,*.directory setf desktop " Dict config au BufNewFile,BufRead dict.conf,.dictrc setf dictconf -- cgit