annotate runtime/syntax/icemenu.vim @ 9:6a13985590e6

*** empty log message ***
author axmo
date Fri, 29 Aug 2008 15:41:29 +0900
parents 76efa0be13f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1 " Vim syntax file
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2 " Language: Icewm Menu
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
3 " Maintainer: James Mahler <James.Mahler@gmail.com>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
4 " Last Change: Fri Apr 1 15:13:48 EST 2005
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
5 " Extensions: ~/.icewm/menu
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6 " Comment: Icewm is a lightweight window manager. This adds syntax
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 " highlighting when editing your user's menu file (~/.icewm/menu).
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9 " clear existing syntax
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 if version < 600
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
11 syntax clear
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
12 elseif exists("b:current_syntax")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
13 finish
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
14 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
15
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
16 " not case sensitive
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17 syntax case ignore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19 " icons .xpm .png and .gif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 syntax match _icon /"\=\/.*\.xpm"\=/
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
21 syntax match _icon /"\=\/.*\.png"\=/
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
22 syntax match _icon /"\=\/.*\.gif"\=/
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
23 syntax match _icon /"\-"/
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
24
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
25 " separator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
26 syntax keyword _rules separator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
27
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
28 " prog and menu
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
29 syntax keyword _ids menu prog
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
30
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
31 " highlights
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
32 highlight link _rules Underlined
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
33 highlight link _ids Type
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
34 highlight link _icon Special
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
35
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
36 let b:current_syntax = "IceMenu"