mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
Merge branch 'cboltz-vim-if-exists' into 'master'
apparmor.vim: support 'include if exists' See merge request apparmor/apparmor!500 Acked-by: John Johansen <john.johansen@canonical.com> for 2.12..master (cherry picked from commit a4864146e2d5b39bdc9635507f784fb5a268212b) efa7c6d6 apparmor.vim: support 'include if exists'
This commit is contained in:
parent
b3dff41eb7
commit
6c638c97c5
@ -186,6 +186,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*
|
||||
|
Loading…
x
Reference in New Issue
Block a user