summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 22:07:52 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 22:07:52 +0200
commitf1f0ff9557353c9a452aac8540411a88cf2da47c (patch)
tree2fcf31c5a43e97cfc97de171bbc1361ca1da403f /runtime/filetype.vim
parent362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 (diff)
patch 8.2.0954: not all desktop files are recognizedv8.2.0954
Problem: Not all desktop files are recognized. Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
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