annotate runtime/syntax/modconf.vim @ 9982:e24aa20d815c v7.4.2264

commit https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 27 13:35:35 2016 +0200 patch 7.4.2264 Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Aug 2016 13:45:05 +0200
parents f4f8014d516e
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
2 " Language: modules.conf(5) configuration file
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 375
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1624
diff changeset
4 " Latest Revision: 2007-10-25
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 839
diff changeset
10 setlocal iskeyword+=-
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
12 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
15 syn keyword modconfTodo FIXME TODO XXX NOTE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
17 syn region modconfComment start='#' skip='\\$' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
18 \ contains=modconfTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
20 syn keyword modconfConditional if else elseif endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
22 syn keyword modconfPreProc alias define include keep prune
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
23 \ post-install post-remove pre-install
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 1624
diff changeset
24 \ pre-remove persistdir blacklist
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
25
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
26 syn keyword modconfKeyword add above below install options probe probeall
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
27 \ remove
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
29 syn keyword modconfIdentifier depfile insmod_opt path generic_stringfile
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30 \ pcimapfile isapnpmapfile usbmapfile
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
31 \ parportmapfile ieee1394mapfile pnpbiosmapfile
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 syn match modconfIdentifier 'path\[[^]]\+\]'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 hi def link modconfTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 hi def link modconfComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
36 hi def link modconfConditional Conditional
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 hi def link modconfPreProc PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
38 hi def link modconfKeyword Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 hi def link modconfIdentifier Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 let b:current_syntax = "modconf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 unlet s:cpo_save