diff --git a/apparmor.vim b/apparmor.vim index 9007476..3e2c00e 100644 --- a/apparmor.vim +++ b/apparmor.vim @@ -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 diff --git a/vim.changes b/vim.changes index 85b2539..7927344 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 11 09:03:06 UTC 2021 - Christian Boltz + +- 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