comparison runtime/syntax/fvwm2m4.vim @ 0:76efa0be13f1

Initial revision
author atsuki
date Sat, 10 Nov 2007 15:07:22 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:76efa0be13f1
1 " Vim syntax file
2 " Language: FvwmM4 preprocessed Fvwm2 configuration files
3 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
4 " Last Change: 2002-06-02
5 " URI: http://physics.muni.cz/~yeti/download/syntax/fvwmm4.vim
6
7 " Setup
8 if version >= 600
9 if exists('b:current_syntax')
10 finish
11 endif
12 else
13 syntax clear
14 endif
15
16 " Let included files know they are included
17 if !exists('main_syntax')
18 let main_syntax = 'fvwm2m4'
19 endif
20
21 " Include M4 syntax
22 if version >= 600
23 runtime! syntax/m4.vim
24 else
25 so <sfile>:p:h/m4.vim
26 endif
27 unlet b:current_syntax
28
29 " Include Fvwm2 syntax (Fvwm1 doesn't have M4 preprocessor)
30 if version >= 600
31 runtime! syntax/fvwm.vim
32 else
33 so <sfile>:p:h/fvwm.vim
34 endif
35 unlet b:current_syntax
36
37 " That's all!
38 let b:current_syntax = 'fvwm2m4'
39
40 if main_syntax == 'fvwm2m4'
41 unlet main_syntax
42 endif
43