Mercurial > vim
annotate runtime/syntax/jgraph.vim @ 21554:13e0857cb114 v8.2.1327
patch 8.2.1327: Mac: configure can't find Tcl libraries
Commit: https://github.com/vim/vim/commit/f4ee528086dcff2b8744544c440853f177956261
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 30 20:18:08 2020 +0200
patch 8.2.1327: Mac: configure can't find Tcl libraries
Problem: Mac: configure can't find Tcl libraries.
Solution: Adjust configure check. (closes https://github.com/vim/vim/issues/6575)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Jul 2020 20:30:06 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: jgraph (graph plotting utility) | |
3 " Maintainer: Jonas Munsin jmunsin@iki.fi | |
4 " Last Change: 2003 May 04 | |
5 " this syntax file is not yet complete | |
6 | |
7 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
8 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
9 if exists("b:current_syntax") |
7 | 10 finish |
11 endif | |
12 | |
13 syn case match | |
14 | |
15 " comments | |
16 syn region jgraphComment start="(\* " end=" \*)" | |
17 | |
18 syn keyword jgraphCmd newcurve newgraph marktype | |
19 syn keyword jgraphType xaxis yaxis | |
20 | |
21 syn keyword jgraphType circle box diamond triangle x cross ellipse | |
22 syn keyword jgraphType xbar ybar text postscript eps none general | |
23 | |
24 syn keyword jgraphType solid dotted dashed longdash dotdash dodotdash | |
25 syn keyword jgraphType dotdotdashdash pts | |
26 | |
27 "integer number, or floating point number without a dot. - or no - | |
28 syn match jgraphNumber "\<-\=\d\+\>" | |
29 "floating point number, with dot - or no - | |
30 syn match jgraphNumber "\<-\=\d\+\.\d*\>" | |
31 "floating point number, starting with a dot - or no - | |
32 syn match jgraphNumber "\-\=\.\d\+\>" | |
33 | |
34 | |
35 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
36 " Only when an item doesn't have highlighting yet |
7 | 37 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
38 hi def link jgraphComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
39 hi def link jgraphCmd Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
40 hi def link jgraphType Type |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
41 hi def link jgraphNumber Number |
7 | 42 |
43 | |
44 | |
45 let b:current_syntax = "jgraph" |