Mercurial > vim
comparison runtime/filetype.vim @ 6505:198e1e498edf
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Jan 2015 19:42:21 +0100 |
parents | 11d78e58a487 |
children | 12155a47f6c2 |
comparison
equal
deleted
inserted
replaced
6504:ca0b33e86f83 | 6505:198e1e498edf |
---|---|
1 " Vim support file to detect file types | 1 " Vim support file to detect file types |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2015 Jan 07 | 4 " Last Change: 2015 Jan 14 |
5 | 5 |
6 " Listen very carefully, I will say this only once | 6 " Listen very carefully, I will say this only once |
7 if exists("did_load_filetypes") | 7 if exists("did_load_filetypes") |
8 finish | 8 finish |
9 endif | 9 endif |
2025 setf udevrules | 2025 setf udevrules |
2026 return | 2026 return |
2027 endif | 2027 endif |
2028 if path =~ '^/etc/ufw/' | 2028 if path =~ '^/etc/ufw/' |
2029 setf conf " Better than hog | 2029 setf conf " Better than hog |
2030 return | |
2031 endif | |
2032 if path =~ '^/\(etc\|usr/share\)/polkit-1/rules\.d' | |
2033 setf javascript | |
2030 return | 2034 return |
2031 endif | 2035 endif |
2032 try | 2036 try |
2033 let config_lines = readfile('/etc/udev/udev.conf') | 2037 let config_lines = readfile('/etc/udev/udev.conf') |
2034 catch /^Vim\%((\a\+)\)\=:E484/ | 2038 catch /^Vim\%((\a\+)\)\=:E484/ |