]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vim/vim/bundle/deb/syntax/deb.vim
Merge branch 'multimedia' again
[config/dotfiles.git] / vim / vim / bundle / deb / syntax / deb.vim
1 " Vim syntax file for browsing debian package.
2 " copyright (C) 2007, arno renevier <arenevier@fdn.fr>
3 " Distributed under the GNU General Public License (version 2 or above)
4 " Last Change: 2007 December 07
5 "
6 " Latest version of that file can be found at
7 " http://www.fdn.fr/~arenevier/vim/syntax/deb.vim
8 " It should also be available at
9 " http://www.vim.org/scripts/script.php?script_id=1970
10
11 if exists("b:current_syntax")
12  finish
13 endif
14
15 syn match debComment '^".*'
16 syn match debInfoFilename '^\* \.\/.*'
17 syn match debDataFilename '^\.\/.*[^/]$'
18 syn match debDirname '^\..*\/$'
19 syn match debSymlink '^\.\/.* -> .*$' contains=debSymlinkTarget,debSymlinkArrow,debSymlinkName
20 syn match debSymlinkName '^\S*' contained
21 syn match debSymlinkTarget '\S*$' contained
22 syn match debSymlinkArrow '->' contained
23
24 hi def link debComment  Comment
25 hi def link debInfoFilename Type
26 hi def link debDataFilename PreProc
27 hi def link debSymlinkName Identifier
28 hi def link debSymlinkTarget PreProc