1
0
forked from aniani/vim

Updated runtime files.

This commit is contained in:
Bram Moolenaar
2015-01-14 19:42:21 +01:00
parent d574ea2f80
commit 83caecf314
6 changed files with 55 additions and 76 deletions

View File

@@ -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/