annotate runtime/syntax/conf.vim @ 9463:78b611afcadb

Added tag v7.4.2012 for changeset 7384c0cfad1375ddf18a8af38160f899574055a5
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jul 2016 19:30:05 +0200
parents 7033303ea0c0
children e3ec2ec8841a
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: generic configure file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
4 " Last Change: 2005 Jun 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
6 " Quit when a (custom) syntax file was already loaded
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syn keyword confTodo contained TODO FIXME XXX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Avoid matching "text#text", used in /etc/disktab and /etc/gettytab
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn match confComment "^#.*" contains=confTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn match confComment "\s#.*"ms=s+1 contains=confTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn region confString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn region confString start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " Define the default highlighting.
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
19 " Only used when an item doesn't have highlighting yet
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
20 hi def link confComment Comment
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
21 hi def link confTodo Todo
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
22 hi def link confString String
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 let b:current_syntax = "conf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " vim: ts=8 sw=2