vim/vim-7.4-filetype_apparmor.patch
Ismail Dönmez 973c31bae0 - Update to version 7.4
* A new, faster regular expression engine.
  * More than a thousand fixes and small improvements.
- Drop vim-7.3-grub.patch, applied upstream
- Refresh the following patches
  * vim-7.4-disable_lang_no.patch
  * vim-7.4-filetype_apparmor.patch
  * vim-7.4-filetype_mine.patch
  * vim-7.4-highlight_fstab.patch

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=149
2013-08-12 07:21:11 +00:00

16 lines
540 B
Diff

Index: vim74/runtime/filetype.vim
===================================================================
--- vim74.orig/runtime/filetype.vim
+++ vim74/runtime/filetype.vim
@@ -112,6 +112,10 @@ au BufNewFile,BufRead proftpd.conf* cal
" Apache config file
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
+" AppArmor
+au BufNewFile,BufRead */etc/apparmor.d/* setf apparmor
+au BufNewFile,BufRead */etc/apparmor/profiles/* setf apparmor
+
" XA65 MOS6510 cross assembler
au BufNewFile,BufRead *.a65 setf a65