diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-09-22 22:33:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-09-22 22:33:02 +0200 |
commit | 50ba526fbf3e9e5e0e6b0b3086a4d5df581ebc7e (patch) | |
tree | d2eeeb618935c8cbd3d05f2d1b771d49b346d9b7 /runtime/filetype.vim | |
parent | 9e02cfa226b2577ec867b544a1a450a428a19880 (diff) |
Updated runtime files.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 13fee8e5f3..844635e26d 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: 2016 Sep 15 +" Last Change: 2016 Sep 22 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -809,6 +809,10 @@ au BufNewFile,BufRead *.gp,.gprc setf gp au BufNewFile,BufRead */.gnupg/options setf gpg au BufNewFile,BufRead */.gnupg/gpg.conf setf gpg au BufNewFile,BufRead */usr/*/gnupg/options.skel setf gpg +if !empty($GNUPGHOME) + au BufNewFile,BufRead $GNUPGHOME/options setf gpg + au BufNewFile,BufRead $GNUPGHOME/gpg.conf setf gpg +endif " gnash(1) configuration files au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash |