vim/vim-7.4-filetype_apparmor.patch
Ismail Dönmez d9ed24658f - Disable more tests failing randomly on OBS:
* test_arglist
    * test_command_count
    * test_diffmode
    * test_mksession
    * test_startup
    * test_window_cmd

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=594
2020-03-31 14:30:46 +00:00

16 lines
602 B
Diff

Index: vim-8.2.0348/runtime/filetype.vim
===================================================================
--- vim-8.2.0348.orig/runtime/filetype.vim
+++ vim-8.2.0348/runtime/filetype.vim
@@ -101,6 +101,10 @@ au BufNewFile,BufRead *.ino,*.pde setf
au BufNewFile,BufRead .htaccess,*/etc/httpd/*.conf setf apache
au BufNewFile,BufRead */etc/apache2/sites-*/*.com 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