SHA256
1
0
forked from pool/vim

Accepting request 911395 from home:cboltz:branches:editors

- Update apparmor.vim (taken from AppArmor 3.0.3)
  * Add syntax highlighting for abi rules


Please accept before doing the next vim update ;-)

OBS-URL: https://build.opensuse.org/request/show/911395
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=675
This commit is contained in:
Dirk Stoecker 2021-08-13 18:30:25 +00:00 committed by Git OBS Bridge
parent 3d99ddb93a
commit e8c3307434
2 changed files with 8 additions and 0 deletions

View File

@ -192,6 +192,8 @@ 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 $
syn match sdInclude /\s*abi\s<\S*>\s*,/ contains=sdComment " TODO: doesn't check until $
" basic profile block...
" \s+ does not work in end=, therefore using \s\s*
syn region Normal start=/\v^(profile\s+)?\S+\s+((flags\s*\=\s*)?\(\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted)(\s*,\s*(complain|audit|attach_disconnected|no_attach_disconnected|chroot_attach|chroot_no_attach|chroot_relative|namespace_relative|mediate_deleted|delegate_deleted))*\s*\)\s+)=\{/ matchgroup=sdProfileEnd end=/^}\s*$/ contains=sdProfileName,Hat,@sdEntry,sdComment,sdError,sdInclude

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 11 09:03:06 UTC 2021 - Christian Boltz <suse-beta@cboltz.de>
- Update apparmor.vim (taken from AppArmor 3.0.3)
* Add syntax highlighting for abi rules
-------------------------------------------------------------------
Mon Aug 9 10:24:10 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>