annotate runtime/syntax/icemenu.vim @ 31043:61db3a2a0e78 v9.0.0856

patch 9.0.0856: MS-Windows: executable not found when running test Commit: https://github.com/vim/vim/commit/d55bfcaa9b140c50cddf56a2c614f05f2f6f2533 Author: Christopher Plewright <chris@createng.com> Date: Thu Nov 10 18:21:30 2022 +0000 patch 9.0.0856: MS-Windows: executable not found when running test Problem: MS-Windows: executable not found when running individual test. Solution: Also look for vimd.exe. (Christopher Plewright, closes https://github.com/vim/vim/issues/11525)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Nov 2022 19:30:04 +0100
parents 43efa4f5a8ea
children
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: Icewm Menu
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 7
diff changeset
3 " Maintainer: James Mahler <James.Mahler@gmail.com>
73354c21f1e4 updated for version 7.0066
vimboss
parents: 7
diff changeset
4 " Last Change: Fri Apr 1 15:13:48 EST 2005
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Extensions: ~/.icewm/menu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Comment: Icewm is a lightweight window manager. This adds syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " highlighting when editing your user's menu file (~/.icewm/menu).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 237
diff changeset
9 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 237
diff changeset
10 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " not case sensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syntax case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " icons .xpm .png and .gif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syntax match _icon /"\=\/.*\.xpm"\=/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syntax match _icon /"\=\/.*\.png"\=/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syntax match _icon /"\=\/.*\.gif"\=/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syntax match _icon /"\-"/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " separator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syntax keyword _rules separator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " prog and menu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syntax keyword _ids menu prog
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " highlights
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 highlight link _rules Underlined
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 highlight link _ids Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 highlight link _icon Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 let b:current_syntax = "IceMenu"