annotate runtime/syntax/debsources.vim @ 6706:c8ff693e9ebc v7.4.677

updated for version 7.4.677 Problem: Configure fails when specifying a python-config-dir. (Lcd) Solution: Check if PYTHONFRAMEWORKPREFIX is set.
author Bram Moolenaar <bram@vim.org>
date Tue, 24 Mar 2015 15:14:27 +0100
parents 32a77cc160d9
children 0303182665d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
1 " Vim syntax file
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 816
diff changeset
2 " Language: Debian sources.list
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 816
diff changeset
3 " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 816
diff changeset
4 " Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents: 5663
diff changeset
5 " Last Change: 2014 Jul 11
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2625
diff changeset
6 " URL: http://anonscm.debian.org/hg/pkg-vim/vim/raw-file/unstable/runtime/syntax/debsources.vim
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
7
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
8 " Standard syntax initialization
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
9 if version < 600
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
10 syntax clear
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
11 elseif exists("b:current_syntax")
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
12 finish
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
13 endif
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
14
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
15 " case sensitive
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
16 syn case match
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
17
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
18 " A bunch of useful keywords
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 816
diff changeset
19 syn match debsourcesKeyword /\(deb-src\|deb\|main\|contrib\|non-free\|restricted\|universe\|multiverse\)/
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
20
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
21 " Match comments
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1668
diff changeset
22 syn match debsourcesComment /#.*/ contains=@Spell
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
23
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
24 " Match uri's
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 816
diff changeset
25 syn match debsourcesUri +\(http://\|ftp://\|[rs]sh://\|debtorrent://\|\(cdrom\|copy\|file\):\)[^' <>"]\++
6070
32a77cc160d9 Update runtime files. Make matchparen plugin backwards compatible.
Bram Moolenaar <bram@vim.org>
parents: 5663
diff changeset
26 syn match debsourcesDistrKeyword +\([[:alnum:]_./]*\)\(squeeze\|wheezy\|jessie\|\(old\)\=stable\|testing\|unstable\|sid\|rc-buggy\|experimental\|devel\|lucid\|precise\|trusty\|utopic\)\([-[:alnum:]_./]*\)+
816
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
27
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
28 " Associate our matches and regions with pretty colours
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
29 hi def link debsourcesLine Error
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
30 hi def link debsourcesKeyword Statement
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
31 hi def link debsourcesDistrKeyword Type
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
32 hi def link debsourcesComment Comment
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
33 hi def link debsourcesUri Constant
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
34
4a79d6d376f0 updated for version 7.0c02
vimboss
parents:
diff changeset
35 let b:current_syntax = "debsources"