From c421fcd38aaf6d4fccebfaf03c9f65ca00f0245c Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Wed, 9 Dec 2020 22:44:33 +0100 Subject: [PATCH] apparmor.vim: add support for abi rules --- utils/vim/apparmor.vim.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/vim/apparmor.vim.in b/utils/vim/apparmor.vim.in index 98d18c458..cf943359c 100644 --- a/utils/vim/apparmor.vim.in +++ b/utils/vim/apparmor.vim.in @@ -189,6 +189,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@@=\{/ matchgroup=sdProfileEnd end=/^}\s*$/ contains=sdProfileName,Hat,@sdEntry,sdComment,sdError,sdInclude