annotate runtime/syntax/conf.vim @ 10844:1f16beccae3d

Added tag v8.0.0311 for changeset 678edb2542167667b21f548b18104ef1652db348
author Christian Brabandt <cb@256bit.org>
date Sun, 05 Feb 2017 21:15:04 +0100
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