annotate runtime/syntax/fvwm2m4.vim @ 5203:72e04e0e326d

Added tag v7-4a-027 for changeset 8edba3805d78
author Bram Moolenaar <bram@vim.org>
date Wed, 17 Jul 2013 17:15:26 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
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: FvwmM4 preprocessed Fvwm2 configuration files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 2002-06-02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " URI: http://physics.muni.cz/~yeti/download/syntax/fvwmm4.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if exists('b:current_syntax')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " Let included files know they are included
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 if !exists('main_syntax')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 let main_syntax = 'fvwm2m4'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " Include M4 syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 runtime! syntax/m4.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 so <sfile>:p:h/m4.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 unlet b:current_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " Include Fvwm2 syntax (Fvwm1 doesn't have M4 preprocessor)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 if version >= 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 runtime! syntax/fvwm.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 so <sfile>:p:h/fvwm.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 unlet b:current_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " That's all!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 let b:current_syntax = 'fvwm2m4'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 if main_syntax == 'fvwm2m4'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 unlet main_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43