SHA256
1
0
forked from pool/vim
Files
vim/vim-7.4-filetype_apparmor.patch
T
mimi_vx 4501435837 - update to 9.1.1861
- refresh patches:
    vim-7.3-filetype_changes.patch
    vim-7.3-filetype_ftl.patch
    vim-7.3-filetype_spec.patch
    vim-7.3-sh_is_bash.patch
    vim-7.4-filetype_apparmor.patch
- drop last support for python2
- enable wayland support
 * patch 9.1.1861: Amiga: Locating runtime dir and rc files can be simplified
 * patch 9.1.1860: clipboard register "+" enabled with cplipboard provider feature
 * patch 9.1.1859: completion: whitespace not cleared with 'ai'
 * patch 9.1.1858: v:register not reset after Visual mode command
 * patch 9.1.1857: Missing clipboard provider support
 * patch 9.1.1856: cannot style popup window (border, shadow, etc)
 * patch 9.1.1855: Makefile: using non-portable syntax
 * runtime(doc): Miscellaneous documentation fixes
 * runtime(doc): Fix example highlighting at :help prop_list()
 * runtime(doc): Normalise formatting of builtin function descriptions
 * runtime(doc): Remove accidental option name highlighting from :help channel.txt
 * patch 9.1.1854: unnecessary code in optionstr.c
 * patch 9.1.1853: Ctrl-F and Ctrl-B at more prompt not working with key protocol
 * runtime(vimcomplete): do not complete on empty line
 * runtime(doc): fix inconsistent alignment
 * runtime(bitbake): fix multiline Python function parameter syntax
 * runtime(rst): Preserve indentation of directives
 * runtime(rst): Update b:undo_ftplugin variable
 * runtime(rst): Style update
 * runtime(rst): Enable spell checking for more syntax constructs
 * runtime(rst): Inline literal escape support

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=907
2025-10-16 19:04:46 +00:00

16 lines
650 B
Diff

Index: vim-9.1.1857/runtime/filetype.vim
===================================================================
--- vim-9.1.1857.orig/runtime/filetype.vim
+++ vim-9.1.1857/runtime/filetype.vim
@@ -124,6 +124,10 @@ au BufNewFile,BufRead *.demo,*.dm{1,2,3,
" *.[sS], *.[aA] usually Assembly - GNU
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist#ft#FTasm()
+" AppArmor
+au BufNewFile,BufRead */etc/apparmor.d/* setf apparmor
+au BufNewFile,BufRead */etc/apparmor/profiles/* setf apparmor
+
" BASIC or Visual Basic
au BufNewFile,BufRead *.bas call dist#ft#FTbas()
au BufNewFile,BufRead *.bi,*.bm call dist#ft#FTbas()