SHA256
1
0
forked from pool/vim
vim/vim-7.4-filetype_apparmor.patch
Martin Schreiner e67ab2a476 Accepting request 1190646 from home:cboltz:branches:editors
- Update apparmor.vim to latest version (from AppArmor 4.0.2)
  - add support for "all" and "userns" rules, and new profile flags

OBS-URL: https://build.opensuse.org/request/show/1190646
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=863
2024-07-31 17:44:04 +00:00

16 lines
602 B
Diff

Index: vim-8.2.2411/runtime/filetype.vim
===================================================================
--- vim-8.2.2411.orig/runtime/filetype.vim
+++ vim-8.2.2411/runtime/filetype.vim
@@ -104,6 +104,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