Accepting request 808015 from editors
OBS-URL: https://build.opensuse.org/request/show/808015 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=260
This commit is contained in:
commit
39e06875b2
@ -116,7 +116,7 @@ syn match sdError /^.*$/ contains=sdComment "highlight all non-valid lines as er
|
||||
" TODO: make a separate pattern for variable definitions, then mark sdGlob as contained
|
||||
syn match sdGlob /\v\?|\*|\{.*,.*\}|[[^\]]\+\]|\@\{[a-zA-Z][a-zA-Z0-9_]*\}/
|
||||
|
||||
syn match sdAlias /\v^alias\s+(\/|\@\{\S*\})\S*\s+-\>\s+(\/|\@\{\S*\})\S*\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdGlob,sdComment
|
||||
syn match sdAlias /\v^\s*alias\s+(\/|\@\{\S*\})\S*\s+-\>\s+(\/|\@\{\S*\})\S*\s*,(\s*$|(\s*#.*$)\@=)/ contains=sdGlob,sdComment
|
||||
|
||||
" syn match sdComment /#.*/
|
||||
|
||||
@ -189,6 +189,8 @@ syn match sdComment /\s*#.*$/
|
||||
" NOTE: Comment highlighting still works without contains=sdComment.
|
||||
syn match sdInclude /\s*#include\s<\S*>/ " TODO: doesn't check until $
|
||||
syn match sdInclude /\s*include\s<\S*>/ " TODO: doesn't check until $
|
||||
syn match sdInclude /\s*#include\sif\sexists\s<\S*>/ " TODO: doesn't check until $
|
||||
syn match sdInclude /\s*include\sif\sexists\s<\S*>/ " TODO: doesn't check until $
|
||||
|
||||
" basic profile block...
|
||||
" \s+ does not work in end=, therefore using \s\s*
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 15:16:53 UTC 2020 - Christian Boltz <suse-beta@cboltz.de>
|
||||
|
||||
- apparmor.vim: update from latest AppArmor 2.13 branch:
|
||||
- allow alias rules with leading whitespace
|
||||
- allow 'include if exists' rules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 15:20:08 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user