vim/vim-7.4-filetype_apparmor.patch

16 lines
559 B
Diff
Raw Normal View History

Accepting request 622350 from home:mimi_vx:branches:editors - update to 8.1 revision 8.1.0178 - refresh disable-unreliable-tests.patch vim-7.3-filetype_changes.patch vim-7.3-filetype_ftl.patch vim-7.3-filetype_spec.patch vim-7.3-help_tags.patch vim-7.3-name_vimrc.patch vim-7.4-filetype_apparmor.patch * Warning for passing pointer to non-pointer argument. * Overlapping string argument for strcpy(). * Marks test fails in very wide window * After paging up and down fold line is wrong. * 'viminfofile' option does not behave like a file name. * Typing CTRL-W n in a terminal window causes ml_get error. * Invalid memory use with complicated pattern. * Calling message_filtered() a bit too often. * output of :marks is too short with multi-byte chars * lock flag in new dictitem is reset in many places * using dict_add_nr_str() is clumsy * :clist output can be very long. * luaeval('vim.buffer().name') returns an error. * Danish and German man pages are not installed. * Buffer not updated with 'autoread' set if file was deleted. * completion for user names does not work for a prefix. * GUI: input() fails if CTRL-C was pressed before * Evim.man missing from the distribution. * Crash with "set smarttab shiftwidth=0 softtabstop=-1". * Build with SHADOWDIR fails. * session is wrong with multiple tabs when :lcd was used * Memory leak when using :tcl expr command. OBS-URL: https://build.opensuse.org/request/show/622350 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=503
2018-07-13 08:48:02 +02:00
Index: vim-8.1.0178/runtime/filetype.vim
===================================================================
Accepting request 622350 from home:mimi_vx:branches:editors - update to 8.1 revision 8.1.0178 - refresh disable-unreliable-tests.patch vim-7.3-filetype_changes.patch vim-7.3-filetype_ftl.patch vim-7.3-filetype_spec.patch vim-7.3-help_tags.patch vim-7.3-name_vimrc.patch vim-7.4-filetype_apparmor.patch * Warning for passing pointer to non-pointer argument. * Overlapping string argument for strcpy(). * Marks test fails in very wide window * After paging up and down fold line is wrong. * 'viminfofile' option does not behave like a file name. * Typing CTRL-W n in a terminal window causes ml_get error. * Invalid memory use with complicated pattern. * Calling message_filtered() a bit too often. * output of :marks is too short with multi-byte chars * lock flag in new dictitem is reset in many places * using dict_add_nr_str() is clumsy * :clist output can be very long. * luaeval('vim.buffer().name') returns an error. * Danish and German man pages are not installed. * Buffer not updated with 'autoread' set if file was deleted. * completion for user names does not work for a prefix. * GUI: input() fails if CTRL-C was pressed before * Evim.man missing from the distribution. * Crash with "set smarttab shiftwidth=0 softtabstop=-1". * Build with SHADOWDIR fails. * session is wrong with multiple tabs when :lcd was used * Memory leak when using :tcl expr command. OBS-URL: https://build.opensuse.org/request/show/622350 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=503
2018-07-13 08:48:02 +02:00
--- vim-8.1.0178.orig/runtime/filetype.vim
+++ vim-8.1.0178/runtime/filetype.vim
@@ -98,6 +98,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