annotate runtime/syntax/gnuplot.vim @ 6334:fd4dc6581b0e v7.4.500

updated for version 7.4.500 Problem: Test 72 still fails once in a while. Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Wed, 05 Nov 2014 16:39:28 +0100
parents 1e8ebf870720
children f717d96a39b3
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
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
2 " Language: gnuplot 4.7.0
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
3 " Maintainer: Andrew Rasmussen andyras@users.sourceforge.net
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
4 " Original Maintainer: John Hoelzel johnh51@users.sourceforge.net
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
5 " Last Change: 2014-02-24
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
6 " Filenames: *.gnu *.plt *.gpi *.gih *.gp *.gnuplot scripts: #!*gnuplot
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
7 " URL: http://www.vim.org/scripts/script.php?script_id=4873
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
8 " Original URL: http://johnh51.get.to/vim/syntax/gnuplot.vim
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
9
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
10 " thanks to "David Necas (Yeti)" <yeti@physics.muni.cz>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
12 " credit also to Jim Eberle <jim.eberle@fastnlight.com>
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
13 " for the script http://www.vim.org/scripts/script.php?script_id=1737
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
15 " some shortened names to make demo files look clean... jeh. 11/2000
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
16 " demos -> 3.8i ... jeh. 5/2003 - a work in progress...
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
17 " added current commands, keywords, variables, todos, macros... amr 2014-02-24
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
18
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
19 " For vim version 5.x: Clear all syntax items
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
20 " For vim version 6.x: Quit when a syntax file was already loaded
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
21
7
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 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
28 " ---- Special characters ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
29
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
30 " no harm in just matching any \[char] within double quotes, right?
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
31 syn match gnuplotSpecial "\\." contained
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
32 " syn match gnuplotSpecial "\\\o\o\o\|\\x\x\x\|\\c[^"]\|\\[a-z\\]" contained
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
33
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
34 " measurements in the units in, cm and pt are special
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
35 syn match gnuplotUnit "[0-9]+in"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
36 syn match gnuplotUnit "[0-9]+cm"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
37 syn match gnuplotUnit "[0-9]+pt"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
39 " external (shell) commands are special
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
40 syn region gnuplotExternal start="!" end="$"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
41
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
42 " ---- Comments ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
43
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
44 syn region gnuplotComment start="#" end="$" contains=gnuplotTodo
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
45
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
46 " ---- Constants ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
47
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
48 " strings
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
49 syn region gnuplotString start=+"+ skip=+\\"+ end=+"+ contains=gnuplotSpecial
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
50 syn region gnuplotString start="'" end="'"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
52 " built-in variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
53 syn keyword gnuplotNumber GNUTERM GPVAL_TERM GPVAL_TERMOPTIONS GPVAL_SPLOT
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
54 syn keyword gnuplotNumber GPVAL_OUTPUT GPVAL_ENCODING GPVAL_VERSION
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
55 syn keyword gnuplotNumber GPVAL_PATCHLEVEL GPVAL_COMPILE_OPTIONS
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
56 syn keyword gnuplotNumber GPVAL_MULTIPLOT GPVAL_PLOT GPVAL_VIEW_ZSCALE
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
57 syn keyword gnuplotNumber GPVAL_TERMINALS GPVAL_pi GPVAL_NaN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
58 syn keyword gnuplotNumber GPVAL_ERRNO GPVAL_ERRMSG GPVAL_PWD
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
59 syn keyword gnuplotNumber pi NaN GPVAL_LAST_PLOT GPVAL_TERM_WINDOWID
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
60 syn keyword gnuplotNumber GPVAL_X_MIN GPVAL_X_MAX GPVAL_X_LOG
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
61 syn keyword gnuplotNumber GPVAL_DATA_X_MIN GPVAL_DATA_X_MAX GPVAL_Y_MIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
62 syn keyword gnuplotNumber GPVAL_Y_MAX GPVAL_Y_LOG GPVAL_DATA_Y_MIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
63 syn keyword gnuplotNumber GPVAL_DATA_Y_MAX GPVAL_X2_MIN GPVAL_X2_MAX
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
64 syn keyword gnuplotNumber GPVAL_X2_LOG GPVAL_DATA_X2_MIN GPVAL_DATA_X2_MAX
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
65 syn keyword gnuplotNumber GPVAL_Y2_MIN GPVAL_Y2_MAX GPVAL_Y2_LOG
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
66 syn keyword gnuplotNumber GPVAL_DATA_Y2_MIN GPVAL_DATA_Y2_MAX GPVAL_Z_MIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
67 syn keyword gnuplotNumber GPVAL_Z_MAX GPVAL_Z_LOG GPVAL_DATA_Z_MIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
68 syn keyword gnuplotNumber GPVAL_DATA_Z_MAX GPVAL_CB_MIN GPVAL_CB_MAX
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
69 syn keyword gnuplotNumber GPVAL_CB_LOG GPVAL_DATA_CB_MIN GPVAL_DATA_CB_MAX
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
70 syn keyword gnuplotNumber GPVAL_T_MIN GPVAL_T_MAX GPVAL_T_LOG GPVAL_U_MIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
71 syn keyword gnuplotNumber GPVAL_U_MAX GPVAL_U_LOG GPVAL_V_MIN GPVAL_V_MAX
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
72 syn keyword gnuplotNumber GPVAL_V_LOG GPVAL_R_MIN GPVAL_R_LOG
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
73 syn keyword gnuplotNumber GPVAL_TERM_XMIN GPVAL_TERM_XMAX GPVAL_TERM_YMIN
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
74 syn keyword gnuplotNumber GPVAL_TERM_YMAX GPVAL_TERM_XSIZE
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
75 syn keyword gnuplotNumber GPVAL_TERM_YSIZE GPVAL_VIEW_MAP GPVAL_VIEW_ROT_X
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
76 syn keyword gnuplotNumber GPVAL_VIEW_ROT_Z GPVAL_VIEW_SCALE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
78 " function name variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
79 syn match gnuplotNumber "GPFUN_[a-zA-Z_]*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
81 " stats variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
82 syn keyword gnuplotNumber STATS_records STATS_outofrange STATS_invalid
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
83 syn keyword gnuplotNumber STATS_blank STATS_blocks STATS_columns STATS_min
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
84 syn keyword gnuplotNumber STATS_max STATS_index_min STATS_index_max
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
85 syn keyword gnuplotNumber STATS_lo_quartile STATS_median STATS_up_quartile
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
86 syn keyword gnuplotNumber STATS_mean STATS_stddev STATS_sum STATS_sumsq
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
87 syn keyword gnuplotNumber STATS_correlation STATS_slope STATS_intercept
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
88 syn keyword gnuplotNumber STATS_sumxy STATS_pos_min_y STATS_pos_max_y
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
89 syn keyword gnuplotNumber STATS_mean STATS_stddev STATS_mean_x STATS_sum_x
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
90 syn keyword gnuplotNumber STATS_stddev_x STATS_sumsq_x STATS_min_x
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
91 syn keyword gnuplotNumber STATS_max_x STATS_median_x STATS_lo_quartile_x
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
92 syn keyword gnuplotNumber STATS_up_quartile_x STATS_index_min_x
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
93 syn keyword gnuplotNumber STATS_index_max_x STATS_mean_y STATS_stddev_y
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
94 syn keyword gnuplotNumber STATS_sum_y STATS_sumsq_y STATS_min_y
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
95 syn keyword gnuplotNumber STATS_max_y STATS_median_y STATS_lo_quartile_y
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
96 syn keyword gnuplotNumber STATS_up_quartile_y STATS_index_min_y
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
97 syn keyword gnuplotNumber STATS_index_max_y STATS_correlation STATS_sumxy
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
98
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
99 " deprecated fit variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
100 syn keyword gnuplotError FIT_LIMIT FIT_MAXITER FIT_START_LAMBDA
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
101 syn keyword gnuplotError FIT_LAMBDA_FACTOR FIT_LOG FIT_SCRIPT
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
102
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
103 " numbers, from c.vim
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
104
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
105 " integer number, or floating point number without a dot and with "f".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match gnuplotNumber "\<[0-9]\+\(u\=l\=\|lu\|f\)\>"
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
108
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
109 " floating point number, with dot, optional exponent
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match gnuplotFloat "\<[0-9]\+\.[0-9]*\(e[-+]\=[0-9]\+\)\=[fl]\=\>"
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
111
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
112 " floating point number, starting with a dot, optional exponent
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match gnuplotFloat "\.[0-9]\+\(e[-+]\=[0-9]\+\)\=[fl]\=\>"
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
114
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
115 " floating point number, without dot, with exponent
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match gnuplotFloat "\<[0-9]\+e[-+]\=[0-9]\+[fl]\=\>"
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
117
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
118 " hex number
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match gnuplotNumber "\<0x[0-9a-f]\+\(u\=l\=\|lu\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn case match
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
121
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
122 " flag an octal number with wrong digits by not highlighting
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match gnuplotOctalError "\<0[0-7]*[89]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
125 " ---- Identifiers: Functions ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
126
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
127 " numerical functions
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
128 syn keyword gnuplotFunc abs acos acosh airy arg asin asinh atan atan2
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
129 syn keyword gnuplotFunc atanh EllipticK EllipticE EllipticPi besj0 besj1
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
130 syn keyword gnuplotFunc besy0 besy1 ceil cos cosh erf erfc exp expint
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
131 syn keyword gnuplotFunc floor gamma ibeta inverf igamma imag invnorm int
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
132 syn keyword gnuplotFunc lambertw lgamma log log10 norm rand real sgn sin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
133 syn keyword gnuplotFunc sin sinh sqrt tan tanh voigt
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
134
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
135 " string functions
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
136 syn keyword gnuplotFunc gprintf sprintf strlen strstrt substr strftime
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
137 syn keyword gnuplotFunc strptime system word words
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
138
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
139 " other functions
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
140 syn keyword gnuplotFunc column columnhead columnheader defined exists
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
141 syn keyword gnuplotFunc hsv2rgb stringcolumn timecolumn tm_hour tm_mday
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
142 syn keyword gnuplotFunc tm_min tm_mon tm_sec tm_wday tm_yday tm_year
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
143 syn keyword gnuplotFunc time valid value
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
145 " ---- Statements ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
146
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
147 " common (builtin) variable names
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
148 syn keyword gnuplotKeyword x y t u v z s
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
149
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
150 " conditionals
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
151 syn keyword gnuplotConditional if else
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
152
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
153 " repeats
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
154 syn keyword gnuplotRepeat do for while
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
156 " operators
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
157 syn match gnuplotOperator "[-+*/^|&?:]"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
158 syn match gnuplotOperator "\*\*"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
159 syn match gnuplotOperator "&&"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
160 syn match gnuplotOperator "||"
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
161
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
162 " Keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
163
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
164 " keywords for 'fit' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
165 syn keyword gnuplotKeyword via z x:z x:z:s x:y:z:s
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
166 syn keyword gnuplotKeyword x:y:t:z:s x:y:t:u:z:s x:y:t:u:v:z:s
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
168 " keywords for 'plot' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
169 " 'axes' keyword
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
170 syn keyword gnuplotKeyword axes x1y1 x1y2 x2y1 x2y2
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
171 " 'binary' keyword
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
172 syn keyword gnuplotKeyword binary matrix general array record format endian
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
173 syn keyword gnuplotKeyword filetype avs edf png scan transpose dx dy dz
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
174 syn keyword gnuplotKeyword flipx flipy flipz origin center rotate using
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
175 syn keyword gnuplotKeyword perpendicular skip every
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
176 " datafile keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
177 syn keyword gnuplotKeyword binary nonuniform matrix index every using
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
178 syn keyword gnuplotKeyword smooth volatile noautoscale every index
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
179 " 'smooth' keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
180 syn keyword gnuplotKeyword unique frequency cumulative cnormal kdensity
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
181 syn keyword gnuplotKeyword csplines acsplines bezer sbezier
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
182 " deprecated 'thru' keyword
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
183 syn keyword gnuplotError thru
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
184 " 'using' keyword
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
185 syn keyword gnuplotKeyword using u xticlabels yticlabels zticlabels
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
186 syn keyword gnuplotKeyword x2ticlabels y2ticlabels xtic ytic ztic
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
187 " 'errorbars' keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
188 syn keyword gnuplotKeyword errorbars xerrorbars yerrorbars xyerrorbars
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
189 " 'errorlines' keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
190 syn keyword gnuplotKeyword errorlines xerrorlines yerrorlines xyerrorlines
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
191 " 'title' keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
192 syn keyword gnuplotKeyword title t tit notitle columnheader at beginning
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
193 syn keyword gnuplotKeyword end
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
194 " 'with' keywords
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
195 syn keyword gnuplotKeyword with w linestyle ls linetype lt linewidth
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
196 syn keyword gnuplotKeyword lw linecolor lc pointtype pt pointsize ps
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
197 syn keyword gnuplotKeyword fill fs nohidden3d nocontours nosurface palette
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
198 " styles for 'with'
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
199 syn keyword gnuplotKeyword lines l points p linespoints lp surface dots
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
200 syn keyword gnuplotKeyword impulses labels vectors steps fsteps histeps
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
201 syn keyword gnuplotKeyword errorbars errorlines financebars xerrorbars
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
202 syn keyword gnuplotKeyword xerrorlines xyerrorbars yerrorbars yerrorlines
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
203 syn keyword gnuplotKeyword boxes boxerrorbars boxxyerrorbars boxplot
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
204 syn keyword gnuplotKeyword candlesticks circles ellipses filledcurves
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
205 syn keyword gnuplotKeyword histogram image rgbimage rgbalpha pm3d variable
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
207 " keywords for 'save' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
208 syn keyword gnuplotKeyword save functions func variables all var terminal
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
209 syn keyword gnuplotKeyword term set
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
211 " keywords for 'set/show' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
212 " set angles
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
213 syn keyword gnuplotKeyword angles degrees deg radians rad
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
214 " set arrow
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
215 syn keyword gnuplotKeyword arrow from to rto length angle arrowstyle as
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
216 syn keyword gnuplotKeyword nohead head backhead heads size filled empty
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
217 syn keyword gnuplotKeyword nofilled front back linestyle linetype linewidth
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
218 " set autoscale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
219 " TODO regexp here
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
220 syn keyword gnuplotKeyword autoscale x y z cb x2 y2 zy min max fixmin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
221 syn keyword gnuplotKeyword fixmax fix keepfix noextend
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
222 " set bars
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
223 syn keyword gnuplotKeyword bars small large fullwidth front back
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
224 " set bind
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
225 syn keyword gnuplotKeyword bind
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
226 " set margins
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
227 " TODO regexp
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
228 syn keyword gnuplotKeyword margin bmargin lmargin rmargin tmargin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
229 " set border
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
230 syn keyword gnuplotKeyword border front back
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
231 " set boxwidth
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
232 syn keyword gnuplotKeyword boxwidth absolute relative
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
233 " deprecated set clabel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
234 syn keyword gnuplotError clabel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
235 " set clip
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
236 syn keyword gnuplotKeyword clip points one two
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
237 " set cntrlabel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
238 syn keyword gnuplotKeyword cntrlabel format font start interval onecolor
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
239 " set cntrparam
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
240 syn keyword gnuplotKeyword cntrparam linear cubicspline bspline points
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
241 syn keyword gnuplotKeyword order levels auto discrete incremental
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
242 " set colorbox
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
243 syn keyword gnuplotKeyword colorbox vertical horizontal default user origin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
244 syn keyword gnuplotKeyword size front back noborder bdefault border
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
245 " show colornames
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
246 syn keyword gnuplotKeyword colornames
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
247 " set contour
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
248 syn keyword gnuplotKeyword contour base surface both
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
249 " set datafile
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
250 syn keyword gnuplotKeyword datafile fortran nofpe_trap missing separator
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
251 syn keyword gnuplotKeyword whitespace tab comma commentschars binary
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
252 " set decimalsign
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
253 syn keyword gnuplotKeyword decimalsign locale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
254 " set dgrid3d
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
255 syn keyword gnuplotKeyword dgrid3d splines qnorm gauss cauchy exp box hann
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
256 syn keyword gnuplotKeyword kdensity
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
257 " set dummy
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
258 syn keyword gnuplotKeyword dummy
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
259 " set encoding
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
260 syn keyword gnuplotKeyword encoding default iso_8859_1 iso_8859_15
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
261 syn keyword gnuplotKeyword iso_8859_2 iso_8859_9 koi8r koi8u cp437 cp850
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
262 syn keyword gnuplotKeyword cp852 cp950 cp1250 cp1251 cp1254 sjis utf8
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
263 " set fit
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
264 syn keyword gnuplotKeyword fit logfile default quiet noquiet results brief
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
265 syn keyword gnuplotKeyword verbose errorvariables noerrorvariables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
266 syn keyword gnuplotKeyword errorscaling noerrorscaling prescale noprescale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
267 syn keyword gnuplotKeyword maxiter none limit limit_abs start-lambda script
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
268 syn keyword gnuplotKeyword lambda-factor
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
269 " set fontpath
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
270 syn keyword gnuplotKeyword fontpath
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
271 " set format
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
272 syn keyword gnuplotKeyword format
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
273 " show functions
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
274 syn keyword gnuplotKeyword functions
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
275 " set grid
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
276 syn keyword gnuplotKeyword grid polar layerdefault xtics ytics ztics x2tics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
277 syn keyword gnuplotKeyword y2tics cbtics mxtics mytics mztics mx2tics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
278 syn keyword gnuplotKeyword my2tics mcbtics xmtics ymtics zmtics x2mtics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
279 syn keyword gnuplotKeyword y2mtics cbmtics noxtics noytics noztics nox2tics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
280 syn keyword gnuplotKeyword noy2tics nocbtics nomxtics nomytics nomztics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
281 syn keyword gnuplotKeyword nomx2tics nomy2tics nomcbtics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
282 " set hidden3d
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
283 syn keyword gnuplotKeyword hidden3d offset trianglepattern undefined
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
284 syn keyword gnuplotKeyword altdiagonal noaltdiagonal bentover nobentover
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
285 syn keyword gnuplotKeyword noundefined
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
286 " set historysize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
287 syn keyword gnuplotKeyword historysize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
288 " set isosamples
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
289 syn keyword gnuplotKeyword isosamples
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
290 " set key
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
291 syn keyword gnuplotKeyword key on off inside outside at left right center
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
292 syn keyword gnuplotKeyword top bottom vertical horizontal Left Right
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
293 syn keyword gnuplotKeyword opaque noopaque reverse noreverse invert maxrows
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
294 syn keyword gnuplotKeyword noinvert samplen spacing width height autotitle
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
295 syn keyword gnuplotKeyword noautotitle title enhanced noenhanced font
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
296 syn keyword gnuplotKeyword textcolor box nobox linetype linewidth maxcols
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
297 " set label
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
298 syn keyword gnuplotKeyword label left center right rotate norotate by font
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
299 syn keyword gnuplotKeyword front back textcolor point nopoint offset boxed
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
300 syn keyword gnuplotKeyword hypertext
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
301 " set linetype
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
302 syn keyword gnuplotKeyword linetype
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
303 " set link
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
304 syn keyword gnuplotKeyword link via inverse
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
305 " set loadpath
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
306 syn keyword gnuplotKeyword loadpath
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
307 " set locale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
308 syn keyword gnuplotKeyword locale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
309 " set logscale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
310 syn keyword gnuplotKeyword logscale log
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
311 " set macros
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
312 syn keyword gnuplotKeyword macros
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
313 " set mapping
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
314 syn keyword gnuplotKeyword mapping cartesian spherical cylindrical
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
315 " set mouse
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
316 syn keyword gnuplotKeyword mouse doubleclick nodoubleclick zoomcoordinates
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
317 syn keyword gnuplotKeyword nozoomcoordinates ruler noruler at polardistance
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
318 syn keyword gnuplotKeyword nopolardistance deg tan format clipboardformat
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
319 syn keyword gnuplotKeyword mouseformat labels nolabels zoomjump nozoomjump
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
320 syn keyword gnuplotKeyword verbose noverbose
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
321 " set multiplot
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
322 syn keyword gnuplotKeyword multiplot title font layout rowsfirst downwards
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
323 syn keyword gnuplotKeyword downwards upwards scale offset
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
324 " set object
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
325 syn keyword gnuplotKeyword object behind fillcolor fc fs rectangle ellipse
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
326 syn keyword gnuplotKeyword circle polygon at center size units xy xx yy to
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
327 syn keyword gnuplotKeyword from
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
328 " set offsets
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
329 syn keyword gnuplotKeyword offsets
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
330 " set origin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
331 syn keyword gnuplotKeyword origin
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
332 " set output
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
333 syn keyword gnuplotKeyword output
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
334 " set parametric
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
335 syn keyword gnuplotKeyword parametric
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
336 " show plot
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
337 syn keyword gnuplotKeyword plot add2history
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
338 " set pm3d
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
339 syn keyword gnuplotKeyword hidden3d interpolate scansautomatic scansforward
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
340 syn keyword gnuplotKeyword scansbackward depthorder flush begin center end
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
341 syn keyword gnuplotKeyword ftriangles noftriangles clip1in clip4in mean map
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
342 syn keyword gnuplotKeyword corners2color geomean harmean rms median min max
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
343 syn keyword gnuplotKeyword c1 c2 c3 c4 pm3d at nohidden3d implicit explicit
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
344 " set palette
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
345 syn keyword gnuplotKeyword palette gray color gamma rgbformulae defined
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
346 syn keyword gnuplotKeyword file functions cubehelix start cycles saturation
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
347 syn keyword gnuplotKeyword model RGB HSV CMY YIQ XYZ positive negative
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
348 syn keyword gnuplotKeyword nops_allcF ps_allcF maxcolors float int gradient
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
349 syn keyword gnuplotKeyword fit2rgbformulae rgbformulae
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
350 " set pointintervalbox
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
351 syn keyword gnuplotKeyword pointintervalbox
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
352 " set pointsize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
353 syn keyword gnuplotKeyword pointsize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
354 " set polar
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
355 syn keyword gnuplotKeyword polar
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
356 " set print
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
357 syn keyword gnuplotKeyword print append
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
358 " set psdir
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
359 syn keyword gnuplotKeyword psdir
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
360 " set raxis
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
361 syn keyword gnuplotKeyword raxis rrange rtics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
362 " set samples
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
363 syn keyword gnuplotKeyword samples
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
364 " set size
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
365 syn keyword gnuplotKeyword size square nosquare ratio noratio
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
366 " set style
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
367 syn keyword gnuplotKeyword style function data noborder rectangle arrow
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
368 syn keyword gnuplotKeyword default nohead head heads size filled empty
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
369 syn keyword gnuplotKeyword nofilled front back boxplot range fraction
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
370 syn keyword gnuplotKeyword outliers nooutliers pointtype candlesticks
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
371 syn keyword gnuplotKeyword separation labels off auto x x2 sorted unsorted
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
372 syn keyword gnuplotKeyword fill empty transparent solid pattern border
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
373 syn keyword gnuplotKeyword increment userstyles financebars line default
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
374 syn keyword gnuplotKeyword linetype lt linecolor lc linewidth lw pointtype
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
375 syn keyword gnuplotKeyword pt pointsize ps pointinterval pi palette circle
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
376 syn keyword gnuplotKeyword radius graph screen wedge nowedge ellipse size
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
377 syn keyword gnuplotKeyword units xx xy yy histogram line textbox opaque
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
378 syn keyword gnuplotKeyword border noborder
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
379 " set surface
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
380 syn keyword gnuplotKeyword surface implicit explicit
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
381 " set table
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
382 syn keyword gnuplotKeyword table
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
383 " set terminal (list of terminals)
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
384 syn keyword gnuplotKeyword terminal term push pop aed512 aed767 aifm aqua
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
385 syn keyword gnuplotKeyword be cairo cairolatex canvas cgm context corel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
386 syn keyword gnuplotKeyword debug dumb dxf dxy800a eepic emf emxvga epscairo
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
387 syn keyword gnuplotKeyword epslatex epson_180dpi excl fig ggi gif gpic hpgl
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
388 syn keyword gnuplotKeyword grass hp2623a hp2648 hp500c hpljii hppj imagen
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
389 syn keyword gnuplotKeyword jpeg kyo latex linux lua mf mif mp next openstep
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
390 syn keyword gnuplotKeyword pbm pdf pdfcairo pm png pngcairo postscript
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
391 syn keyword gnuplotKeyword pslatex pstex pstricks qms qt regis sun svg svga
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
392 syn keyword gnuplotKeyword tek40 tek410x texdraw tgif tikz tkcanvas tpic
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
393 syn keyword gnuplotKeyword vgagl vws vx384 windows wx wxt x11 xlib
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
394 " keywords for 'set terminal'
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
395 syn keyword gnuplotKeyword color monochrome dashlength dl eps pdf fontscale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
396 syn keyword gnuplotKeyword standalone blacktext colortext colourtext header
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
397 syn keyword gnuplotKeyword noheader mono color solid dashed notransparent
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
398 syn keyword gnuplotKeyword crop crop background input rounded butt square
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
399 syn keyword gnuplotKeyword size fsize standalone name jsdir defaultsize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
400 syn keyword gnuplotKeyword timestamp notimestamp colour mitered beveled
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
401 syn keyword gnuplotKeyword round squared palfuncparam blacktext nec_cp6
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
402 syn keyword gnuplotKeyword mppoints inlineimages externalimages defaultfont
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
403 syn keyword gnuplotKeyword aspect feed nofeed rotate small tiny standalone
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
404 syn keyword gnuplotKeyword oldstyle newstyle level1 leveldefault level3
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
405 syn keyword gnuplotKeyword background nobackground solid clip noclip
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
406 syn keyword gnuplotKeyword colortext colourtext epson_60dpi epson_lx800
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
407 syn keyword gnuplotKeyword okidata starc tandy_60dpi dpu414 nec_cp6 draft
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
408 syn keyword gnuplotKeyword medium large normal landscape portrait big
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
409 syn keyword gnuplotKeyword inches pointsmax textspecial texthidden
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
410 syn keyword gnuplotKeyword thickness depth version acceleration giant
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
411 syn keyword gnuplotKeyword delay loop optimize nooptimize pspoints
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
412 syn keyword gnuplotKeyword FNT9X17 FNT13X25 interlace nointerlace courier
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
413 syn keyword gnuplotKeyword originreset nooriginreset gparrows nogparrows
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
414 syn keyword gnuplotKeyword picenvironment nopicenvironment tightboundingbox
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
415 syn keyword gnuplotKeyword notightboundingbox charsize gppoints nogppoints
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
416 syn keyword gnuplotKeyword fontscale textscale fulldoc nofulldoc standalone
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
417 syn keyword gnuplotKeyword preamble header tikzplot tikzarrows notikzarrows
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
418 syn keyword gnuplotKeyword cmykimages externalimages noexternalimages
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
419 syn keyword gnuplotKeyword polyline vectors magnification psnfss nopsnfss
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
420 syn keyword gnuplotKeyword psnfss-version7 prologues a4paper amstex fname
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
421 syn keyword gnuplotKeyword fsize server persist widelines interlace
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
422 syn keyword gnuplotKeyword truecolor notruecolor defaultplex simplex duplex
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
423 syn keyword gnuplotKeyword nofontfiles adobeglyphnames noadobeglyphnames
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
424 syn keyword gnuplotKeyword nostandalone metric textrigid animate nopspoints
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
425 syn keyword gnuplotKeyword hpdj FNT5X9 roman emtex rgbimages bitmap
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
426 syn keyword gnuplotKeyword nobitmap providevars nointerlace add delete
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
427 syn keyword gnuplotKeyword auxfile hacktext unit raise palfuncparam
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
428 syn keyword gnuplotKeyword noauxfile nohacktext nounit noraise ctrl noctrl
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
429 syn keyword gnuplotKeyword close widget fixed dynamic tek40xx vttek
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
430 syn keyword gnuplotKeyword kc-tek40xx km-tek40xx bitgraph perltk
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
431 syn keyword gnuplotKeyword interactive red green blue interpolate mode
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
432 syn keyword gnuplotKeyword position ctrlq replotonresize position noctrlq
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
433 syn keyword gnuplotKeyword noreplotonresize
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
434 " set termoption
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
435 syn keyword gnuplotKeyword termoption font fontscale solid dashed
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
436 " set tics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
437 syn keyword gnuplotKeyword tics add axis border mirror nomirror in out
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
438 syn keyword gnuplotKeyword scale rotate norotate by offset nooffset left
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
439 syn keyword gnuplotKeyword autojustify format font textcolor right center
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
440 " deprecated set ticslevel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
441 syn keyword gnuplotError ticslevel ticscale
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
442 " set timestamp
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
443 syn keyword gnuplotKeyword timestamp top bottom offset font
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
444 " set timefmt
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
445 syn keyword gnuplotKeyword timefmt
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
446 " set title
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
447 syn keyword gnuplotKeyword title offset font textcolor tc
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
448 " set ranges
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
449 syn keyword gnuplotKeyword trange urange vrange
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
450 " show variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
451 syn keyword gnuplotKeyword variables
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
452 " show version
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
453 syn keyword gnuplotKeyword version
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
454 " set view
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
455 syn keyword gnuplotKeyword view map equal noequal xy xyz
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
456 " set x2data
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
457 syn keyword gnuplotKeyword xdata ydata zdata x2data y2data cbdata xdtics
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
458 syn keyword gnuplotKeyword ydtics zdtics x2dtics y2dtics cbdtics xzeroaxis
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
459 syn keyword gnuplotKeyword yzeroaxis zzeroaxis x2zeroaxis y2zeroaxis
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
460 syn keyword gnuplotKeyword cbzeroaxis time geographic
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
461 " set label
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
462 syn keyword gnuplotKeyword xlabel ylabel zlabel x2label y2label cblabel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
463 syn keyword gnuplotKeyword offset font textcolor by parallel
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
464 " set range
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
465 syn keyword gnuplotKeyword xrange yrange zrange x2range y2range cbrange
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
466 " set xyplane
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
467 syn keyword gnuplotKeyword xyplane
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
468 " set zeroaxis
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
469 " set zero
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
470 syn keyword gnuplotKeyword zero
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
471 " set zeroaxis
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
472 syn keyword gnuplotKeyword zeroaxis
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
474 " keywords for 'stats' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
475 syn keyword gnuplotKeyword nooutput
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
476
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
477 " keywords for 'test' command
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
478 syn keyword gnuplotKeyword terminal palette rgb rbg grb gbr brg bgr
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
479
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
480 " ---- Macros ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
481
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
482 syn region gnuplotMacro start="@" end=" "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
483
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
484 " ---- Todos ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
485
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
486 syn keyword gnuplotTodo contained TODO FIXME XXX
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
488 " ---- Types: gnuplot commands ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
489
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
490 " I set the commands as Types to distinguish them visually from keywords for the
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
491 " commands. This comes at the end of the syntax file because some commands
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
492 " are redundant with keywords. It's probably too much trouble to go and
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
493 " create special regions for each redundant keyword/command pair, which means
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
494 " that some keywords (e.g. 'p') will be highlighted as commands.
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
495
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
496 syn keyword gnuplotStatement cd call clear evaluate exit fit help history
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
497 syn keyword gnuplotStatement load lower pause plot p print pwd quit raise
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
498 syn keyword gnuplotStatement refresh replot rep reread reset save set show
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
499 syn keyword gnuplotStatement shell splot spstats system test undefine unset
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
500 syn keyword gnuplotStatement update
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
501
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
502 " ---- Define the default highlighting ---- "
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 if version >= 508 || !exists("did_gnuplot_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 let did_gnuplot_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
513 " ---- Comments ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
514 HiLink gnuplotComment Comment
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
515
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
516 " ---- Constants ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
517 HiLink gnuplotString String
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 HiLink gnuplotNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 HiLink gnuplotFloat Float
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
520
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
521 " ---- Identifiers ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
522 HiLink gnuplotIdentifier Identifier
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
523
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
524 " ---- Statements ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
525 HiLink gnuplotConditional Conditional
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
526 HiLink gnuplotRepeat Repeat
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
527 HiLink gnuplotKeyword Keyword
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
528 HiLink gnuplotOperator Operator
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
529
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
530 " ---- PreProcs ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
531 HiLink gnuplotMacro Macro
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
532
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
533 " ---- Types ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
534 HiLink gnuplotStatement Type
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
535 HiLink gnuplotFunc Identifier
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
536
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
537 " ---- Specials ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
538 HiLink gnuplotSpecial Special
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
539 HiLink gnuplotUnit Special
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
540 HiLink gnuplotExternal Special
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
541
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
542 " ---- Errors ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
543 HiLink gnuplotError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 HiLink gnuplotOctalError Error
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
545
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
546 " ---- Todos ---- "
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 657
diff changeset
547 HiLink gnuplotTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 let b:current_syntax = "gnuplot"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 " vim: ts=8