vim/vim-7.4-filetype_apparmor.patch
Stephan Kulow 2cfe0f29df Accepting request 672541 from home:coolo:branches:editors
- Update to version 8.1.0887, fixes the following problems
  * Undo with text properties not tested.
  * setline() and setbufline() do not clear text properties.
  * Text properties are not adjusted for :substitute.
  * If a buffer was deleted a channel can't write to it.
  * Channel test fails sometimes.
  * When using text props may free memory that is not allocated.
  * Internal error when using :popup.
  * When test_edit fails 'insertmode' may not be reset and the next test may get stuck. (James McCoy)
  * ":sign place" requires the buffer argument.
  * Clearing the window is used too often, causing the command line to be cleared when opening a tab. (Miroslav Koškár)
  * Compiler warning for uninitialized variable. (Tony Mechelynck)
  * Using "gt" sometimes does not redraw a tab. (Jason Franklin)
  * Sign message not translated and inconsistent spacing.
  * ":sign place" only uses the current buffer.
  * Compiler warnings with 64-bit compiler.
  * Building with Ruby 2.6 gives compiler warnings.
  * :colorscheme isn't tested enough
  * Tabline is not always redrawn when something that is used in 'tabline' changes.
  * Text property columns are not adjusted for changed indent.
  * Third argument for redrawWinline() is always FALSE.
  * Windows are updated for every added/deleted sign.
  * When using timers may wait for job exit quite long.
  * Test files still use function!.
  * MS-Windows build instructions are a bit outdated.
  * Images for NSIS take up too much space.
  * Unessesary #if lines in GTK code.
  * Superfluous call to redraw_win_later().
  * Get warning message when 'completefunc' returns nothing.
  * There is no function for the ":sign jump" command.

OBS-URL: https://build.opensuse.org/request/show/672541
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=534
2019-02-07 19:50:05 +00:00

16 lines
601 B
Diff

Index: vim-8.1.0877/runtime/filetype.vim
===================================================================
--- vim-8.1.0877.orig/runtime/filetype.vim
+++ vim-8.1.0877/runtime/filetype.vim
@@ -99,6 +99,10 @@ au BufNewFile,BufRead proftpd.conf* cal
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