From f1f0ff9557353c9a452aac8540411a88cf2da47c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Jun 2020 22:07:52 +0200 Subject: 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 #3317) --- 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 12ccd45c0c..c585515b0e 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -462,7 +462,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 v1.2.3