diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-01-14 19:42:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-01-14 19:42:21 +0100 |
commit | 83caecf31437c1e1af342186514f2a073ee1427e (patch) | |
tree | dbafd7f8242016c1d3337de12419e8632038468b /runtime/filetype.vim | |
parent | d574ea2f80b271aff4bac7dc7fa83b292f0ac486 (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 019345baf7..5ad76cc634 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: 2015 Jan 07 +" Last Change: 2015 Jan 14 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -2029,6 +2029,10 @@ func! s:FTRules() setf conf " Better than hog return endif + if path =~ '^/\(etc\|usr/share\)/polkit-1/rules\.d' + setf javascript + return + endif try let config_lines = readfile('/etc/udev/udev.conf') catch /^Vim\%((\a\+)\)\=:E484/ |