Closed GoogleCodeExporter closed 9 years ago
This also applies to files in /usr/share/polkit-1/rules.d
Original comment by khym.cha...@gmail.com
on 3 Dec 2014 at 10:06
I think, this patch fixes it.
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2026,6 +2026,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/
Please confirm
Original comment by chrisbr...@googlemail.com
on 4 Dec 2014 at 9:38
That solved it.
Original comment by khym.cha...@gmail.com
on 5 Dec 2014 at 3:21
Bram, can we include that patch to filetype.vim?
Original comment by chrisbr...@googlemail.com
on 9 Jan 2015 at 12:09
I'll include the change, thanks.
Original comment by brammool...@gmail.com
on 14 Jan 2015 at 3:44
Original issue reported on code.google.com by
khym.cha...@gmail.com
on 3 Dec 2014 at 10:05