subdomain.vim - uses color to highlight AppArmor profile text when opened with vim.
#name
NAME
#synopsis
SYNOPSIS
#description
DESCRIPTION
#files
FILES
#bugs
BUGS
#see_also
SEE ALSO
NAME
subdomain.vim - uses color to highlight AppArmor profile text when opened with vim.
SYNOPSIS
If you want to use syntax highlighting in a specific vim session, open the profile in vim, and run:
:syntax on
:set syntax=subdomain
To automatically use the subdomain.vim syntax highlighting in vim, place
the following lines in your ~/.vimrc file:
autocmd BufNewFile,BufRead /etc/subdomain.d/* set syntax=subdomain
autocmd BufNewFile,BufRead */sdprofiles/*     set syntax=subdomain
autocmd BufNewFile,BufRead */codomain-*/*/*   set syntax=subdomain
syntax on
DESCRIPTION
subdomain.vim
displays text in different colors when you open AppArmor profiles in vim.
subdomain.vim provides rules for the
vim(1)
text editor for syntax highlighting.
The rules provide an easy visual method to inspect AppArmor profiles for syntax correctness and sematics.
The most useful colors provided are
yellow
for
write
access,
red
for
ux
(unconstrained execute)
access,
green
for
ix
(inherit execute) access, and
cyan
for
px
(profile execute).
FILES
/usr/share/vim/vim61/syntax/subdomain.vim
BUGS
If you find any bugs, please report them to bugzilla at
http://bugs.wirex.com
http://bugs.wirex.com
.
SEE ALSO
vim(1), subdomain(7), subdomain.conf(5), and hange_hat(2).
subdomain.vim - uses color to highlight AppArmor profile text when opened with vim.
