annotate runtime/syntax/idlang.vim @ 33096:828bcb1a37e7 v9.0.1833

patch 9.0.1833: [security] runtime file fixes Commit: https://github.com/vim/vim/commit/816fbcc262687b81fc46f82f7bbeb1453addfe0c Author: Christian Brabandt <cb@256bit.org> Date: Thu Aug 31 23:52:30 2023 +0200 patch 9.0.1833: [security] runtime file fixes Problem: runtime files may execute code in current dir Solution: only execute, if not run from current directory The perl, zig and ruby filetype plugins and the zip and gzip autoload plugins may try to load malicious executable files from the current working directory. This is especially a problem on windows, where the current directory is implicitly in your $PATH and windows may even run a file with the extension `.bat` because of $PATHEXT. So make sure that we are not trying to execute a file from the current directory. If this would be the case, error out (for the zip and gzip) plugins or silently do not run those commands (for the ftplugins). This assumes, that only the current working directory is bad. For all other directories, it is assumed that those directories were intentionally set to the $PATH by the user. Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 01 Sep 2023 00:00:02 +0200
parents 46763b01cd9a
children 5c380c461899
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 " Interactive Data Language syntax file (IDL, too [:-)]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
3 " Last change: 2011 Apr 11
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Created by: Hermann Rochholz <Hermann.Rochholz AT gmx.de>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Remove any old syntax stuff hanging around
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2788
diff changeset
7 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2788
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn match idlangStatement "^\s*pro\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match idlangStatement "^\s*function\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn keyword idlangStatement return continue mod do break
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn keyword idlangStatement compile_opt forward_function goto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn keyword idlangStatement begin common end of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn keyword idlangStatement inherits on_ioerror begin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword idlangConditional if else then for while case switch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword idlangConditional endcase endelse endfor endswitch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword idlangConditional endif endrep endwhile repeat until
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match idlangOperator "\ and\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match idlangOperator "\ eq\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match idlangOperator "\ ge\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match idlangOperator "\ gt\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match idlangOperator "\ le\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match idlangOperator "\ lt\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match idlangOperator "\ ne\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match idlangOperator /\(\ \|(\)not\ /hs=e-3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match idlangOperator "\ or\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match idlangOperator "\ xor\ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword idlangStop stop pause
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match idlangStrucvar "\h\w*\(\.\h\w*\)\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match idlangStrucvar "[),\]]\(\.\h\w*\)\+"hs=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match idlangSystem "\!\a\w*\(\.\w*\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match idlangKeyword "\([(,]\s*\(\$\_s*\)\=\)\@<=/\h\w*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match idlangKeyword "\([(,]\s*\(\$\_s*\)\=\)\@<=\h\w*\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword idlangTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn region idlangString start=+"+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn region idlangString start=+'+ end=+'+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match idlangPreCondit "^\s*@\w*\(\.\a\{3}\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match idlangRealNumber "\<\d\+\(\.\=\d*e[+-]\=\d\+\|\.\d*d\|\.\d*\|d\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match idlangRealNumber "\.\d\+\(d\|e[+-]\=\d\+\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match idlangNumber "\<\.\@!\d\+\.\@!\(b\|u\|us\|s\|l\|ul\|ll\|ull\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match idlangComment "[\;].*$" contains=idlangTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match idlangContinueLine "\$\s*\($\|;\)"he=s+1 contains=idlangComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match idlangContinueLine "&\s*\(\h\|;\)"he=s+1 contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match idlangDblCommaError "\,\s*\,"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 " List of standard routines as of IDL version 5.4.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match idlangRoutine "EOS_\a*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match idlangRoutine "HDF_\a*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match idlangRoutine "CDF_\a*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match idlangRoutine "NCDF_\a*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match idlangRoutine "QUERY_\a*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match idlangRoutine "\<MAX\s*("he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match idlangRoutine "\<MIN\s*("he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword idlangRoutine A_CORRELATE ABS ACOS ADAPT_HIST_EQUAL ALOG ALOG10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword idlangRoutine AMOEBA ANNOTATE ARG_PRESENT ARRAY_EQUAL ARROW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword idlangRoutine ASCII_TEMPLATE ASIN ASSOC ATAN AXIS BAR_PLOT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword idlangRoutine BESELI BESELJ BESELK BESELY BETA BILINEAR BIN_DATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword idlangRoutine BINARY_TEMPLATE BINDGEN BINOMIAL BLAS_AXPY BLK_CON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword idlangRoutine BOX_CURSOR BREAK BREAKPOINT BROYDEN BYTARR BYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword idlangRoutine BYTEORDER BYTSCL C_CORRELATE CALDAT CALENDAR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword idlangRoutine CALL_EXTERNAL CALL_FUNCTION CALL_METHOD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword idlangRoutine CALL_PROCEDURE CATCH CD CEIL CHEBYSHEV CHECK_MATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword idlangRoutine CHISQR_CVF CHISQR_PDF CHOLDC CHOLSOL CINDGEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword idlangRoutine CIR_3PNT CLOSE CLUST_WTS CLUSTER COLOR_CONVERT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword idlangRoutine COLOR_QUAN COLORMAP_APPLICABLE COMFIT COMMON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword idlangRoutine COMPLEX COMPLEXARR COMPLEXROUND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword idlangRoutine COMPUTE_MESH_NORMALS COND CONGRID CONJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword idlangRoutine CONSTRAINED_MIN CONTOUR CONVERT_COORD CONVOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword idlangRoutine COORD2TO3 CORRELATE COS COSH CRAMER CREATE_STRUCT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword idlangRoutine CREATE_VIEW CROSSP CRVLENGTH CT_LUMINANCE CTI_TEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword idlangRoutine CURSOR CURVEFIT CV_COORD CVTTOBM CW_ANIMATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword idlangRoutine CW_ANIMATE_GETP CW_ANIMATE_LOAD CW_ANIMATE_RUN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword idlangRoutine CW_ARCBALL CW_BGROUP CW_CLR_INDEX CW_COLORSEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword idlangRoutine CW_DEFROI CW_FIELD CW_FILESEL CW_FORM CW_FSLIDER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword idlangRoutine CW_LIGHT_EDITOR CW_LIGHT_EDITOR_GET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword idlangRoutine CW_LIGHT_EDITOR_SET CW_ORIENT CW_PALETTE_EDITOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword idlangRoutine CW_PALETTE_EDITOR_GET CW_PALETTE_EDITOR_SET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword idlangRoutine CW_PDMENU CW_RGBSLIDER CW_TMPL CW_ZOOM DBLARR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword idlangRoutine DCINDGEN DCOMPLEX DCOMPLEXARR DEFINE_KEY DEFROI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword idlangRoutine DEFSYSV DELETE_SYMBOL DELLOG DELVAR DERIV DERIVSIG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword idlangRoutine DETERM DEVICE DFPMIN DIALOG_MESSAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword idlangRoutine DIALOG_PICKFILE DIALOG_PRINTERSETUP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword idlangRoutine DIALOG_PRINTJOB DIALOG_READ_IMAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword idlangRoutine DIALOG_WRITE_IMAGE DIGITAL_FILTER DILATE DINDGEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword idlangRoutine DISSOLVE DIST DLM_LOAD DLM_REGISTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword idlangRoutine DO_APPLE_SCRIPT DOC_LIBRARY DOUBLE DRAW_ROI EFONT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword idlangRoutine EIGENQL EIGENVEC ELMHES EMPTY ENABLE_SYSRTN EOF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword idlangRoutine ERASE ERODE ERRORF ERRPLOT EXECUTE EXIT EXP EXPAND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword idlangRoutine EXPAND_PATH EXPINT EXTRAC EXTRACT_SLICE F_CVF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword idlangRoutine F_PDF FACTORIAL FFT FILE_CHMOD FILE_DELETE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword idlangRoutine FILE_EXPAND_PATH FILE_MKDIR FILE_TEST FILE_WHICH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword idlangRoutine FILEPATH FINDFILE FINDGEN FINITE FIX FLICK FLOAT
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
113 syn keyword idlangRoutine FLOOR FLOW3 FLTARR FLUSH FORMAT_AXIS_VALUES
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword idlangRoutine FORWARD_FUNCTION FREE_LUN FSTAT FULSTR FUNCT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword idlangRoutine FV_TEST FX_ROOT FZ_ROOTS GAMMA GAMMA_CT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword idlangRoutine GAUSS_CVF GAUSS_PDF GAUSS2DFIT GAUSSFIT GAUSSINT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword idlangRoutine GET_DRIVE_LIST GET_KBRD GET_LUN GET_SCREEN_SIZE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword idlangRoutine GET_SYMBOL GETENV GOTO GRID_TPS GRID3 GS_ITER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword idlangRoutine H_EQ_CT H_EQ_INT HANNING HEAP_GC HELP HILBERT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword idlangRoutine HIST_2D HIST_EQUAL HISTOGRAM HLS HOUGH HQR HSV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword idlangRoutine IBETA IDENTITY IDL_Container IDLanROI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword idlangRoutine IDLanROIGroup IDLffDICOM IDLffDXF IDLffLanguageCat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword idlangRoutine IDLffShape IDLgrAxis IDLgrBuffer IDLgrClipboard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword idlangRoutine IDLgrColorbar IDLgrContour IDLgrFont IDLgrImage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword idlangRoutine IDLgrLegend IDLgrLight IDLgrModel IDLgrMPEG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword idlangRoutine IDLgrPalette IDLgrPattern IDLgrPlot IDLgrPolygon
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword idlangRoutine IDLgrPolyline IDLgrPrinter IDLgrROI IDLgrROIGroup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword idlangRoutine IDLgrScene IDLgrSurface IDLgrSymbol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword idlangRoutine IDLgrTessellator IDLgrText IDLgrView
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword idlangRoutine IDLgrViewgroup IDLgrVolume IDLgrVRML IDLgrWindow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword idlangRoutine IGAMMA IMAGE_CONT IMAGE_STATISTICS IMAGINARY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword idlangRoutine INDGEN INT_2D INT_3D INT_TABULATED INTARR INTERPOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword idlangRoutine INTERPOLATE INVERT IOCTL ISHFT ISOCONTOUR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword idlangRoutine ISOSURFACE JOURNAL JULDAY KEYWORD_SET KRIG2D
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword idlangRoutine KURTOSIS KW_TEST L64INDGEN LABEL_DATE LABEL_REGION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword idlangRoutine LADFIT LAGUERRE LEEFILT LEGENDRE LINBCG LINDGEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword idlangRoutine LINFIT LINKIMAGE LIVE_CONTOUR LIVE_CONTROL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword idlangRoutine LIVE_DESTROY LIVE_EXPORT LIVE_IMAGE LIVE_INFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword idlangRoutine LIVE_LINE LIVE_LOAD LIVE_OPLOT LIVE_PLOT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword idlangRoutine LIVE_PRINT LIVE_RECT LIVE_STYLE LIVE_SURFACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword idlangRoutine LIVE_TEXT LJLCT LL_ARC_DISTANCE LMFIT LMGR LNGAMMA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword idlangRoutine LNP_TEST LOADCT LOCALE_GET LON64ARR LONARR LONG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword idlangRoutine LONG64 LSODE LU_COMPLEX LUDC LUMPROVE LUSOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword idlangRoutine M_CORRELATE MACHAR MAKE_ARRAY MAKE_DLL MAP_2POINTS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword idlangRoutine MAP_CONTINENTS MAP_GRID MAP_IMAGE MAP_PATCH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword idlangRoutine MAP_PROJ_INFO MAP_SET MATRIX_MULTIPLY MD_TEST MEAN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword idlangRoutine MEANABSDEV MEDIAN MEMORY MESH_CLIP MESH_DECIMATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword idlangRoutine MESH_ISSOLID MESH_MERGE MESH_NUMTRIANGLES MESH_OBJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword idlangRoutine MESH_SMOOTH MESH_SURFACEAREA MESH_VALIDATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword idlangRoutine MESH_VOLUME MESSAGE MIN_CURVE_SURF MK_HTML_HELP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword idlangRoutine MODIFYCT MOMENT MORPH_CLOSE MORPH_DISTANCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword idlangRoutine MORPH_GRADIENT MORPH_HITORMISS MORPH_OPEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword idlangRoutine MORPH_THIN MORPH_TOPHAT MPEG_CLOSE MPEG_OPEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword idlangRoutine MPEG_PUT MPEG_SAVE MSG_CAT_CLOSE MSG_CAT_COMPILE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword idlangRoutine MSG_CAT_OPEN MULTI N_ELEMENTS N_PARAMS N_TAGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword idlangRoutine NEWTON NORM OBJ_CLASS OBJ_DESTROY OBJ_ISA OBJ_NEW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword idlangRoutine OBJ_VALID OBJARR ON_ERROR ON_IOERROR ONLINE_HELP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword idlangRoutine OPEN OPENR OPENW OPLOT OPLOTERR P_CORRELATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword idlangRoutine PARTICLE_TRACE PCOMP PLOT PLOT_3DBOX PLOT_FIELD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword idlangRoutine PLOTERR PLOTS PNT_LINE POINT_LUN POLAR_CONTOUR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword idlangRoutine POLAR_SURFACE POLY POLY_2D POLY_AREA POLY_FIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword idlangRoutine POLYFILL POLYFILLV POLYSHADE POLYWARP POPD POWELL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword idlangRoutine PRIMES PRINT PRINTF PRINTD PROFILE PROFILER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword idlangRoutine PROFILES PROJECT_VOL PS_SHOW_FONTS PSAFM PSEUDO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword idlangRoutine PTR_FREE PTR_NEW PTR_VALID PTRARR PUSHD QROMB
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword idlangRoutine QROMO QSIMP R_CORRELATE R_TEST RADON RANDOMN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn keyword idlangRoutine RANDOMU RANKS RDPIX READ READF READ_ASCII
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword idlangRoutine READ_BINARY READ_BMP READ_DICOM READ_IMAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn keyword idlangRoutine READ_INTERFILE READ_JPEG READ_PICT READ_PNG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword idlangRoutine READ_PPM READ_SPR READ_SRF READ_SYLK READ_TIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword idlangRoutine READ_WAV READ_WAVE READ_X11_BITMAP READ_XWD READS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn keyword idlangRoutine READU REBIN RECALL_COMMANDS RECON3 REDUCE_COLORS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword idlangRoutine REFORM REGRESS REPLICATE REPLICATE_INPLACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn keyword idlangRoutine RESOLVE_ALL RESOLVE_ROUTINE RESTORE RETALL RETURN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn keyword idlangRoutine REVERSE REWIND RK4 ROBERTS ROT ROTATE ROUND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn keyword idlangRoutine ROUTINE_INFO RS_TEST S_TEST SAVE SAVGOL SCALE3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn keyword idlangRoutine SCALE3D SEARCH2D SEARCH3D SET_PLOT SET_SHADING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword idlangRoutine SET_SYMBOL SETENV SETLOG SETUP_KEYS SFIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn keyword idlangRoutine SHADE_SURF SHADE_SURF_IRR SHADE_VOLUME SHIFT SHOW3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn keyword idlangRoutine SHOWFONT SIN SINDGEN SINH SIZE SKEWNESS SKIPF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syn keyword idlangRoutine SLICER3 SLIDE_IMAGE SMOOTH SOBEL SOCKET SORT SPAWN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syn keyword idlangRoutine SPH_4PNT SPH_SCAT SPHER_HARM SPL_INIT SPL_INTERP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn keyword idlangRoutine SPLINE SPLINE_P SPRSAB SPRSAX SPRSIN SPRSTP SQRT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn keyword idlangRoutine STANDARDIZE STDDEV STOP STRARR STRCMP STRCOMPRESS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn keyword idlangRoutine STREAMLINE STREGEX STRETCH STRING STRJOIN STRLEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn keyword idlangRoutine STRLOWCASE STRMATCH STRMESSAGE STRMID STRPOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn keyword idlangRoutine STRPUT STRSPLIT STRTRIM STRUCT_ASSIGN STRUCT_HIDE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn keyword idlangRoutine STRUPCASE SURFACE SURFR SVDC SVDFIT SVSOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn keyword idlangRoutine SWAP_ENDIAN SWITCH SYSTIME T_CVF T_PDF T3D
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn keyword idlangRoutine TAG_NAMES TAN TANH TAPRD TAPWRT TEK_COLOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn keyword idlangRoutine TEMPORARY TETRA_CLIP TETRA_SURFACE TETRA_VOLUME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn keyword idlangRoutine THIN THREED TIME_TEST2 TIMEGEN TM_TEST TOTAL TRACE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn keyword idlangRoutine TRANSPOSE TRI_SURF TRIANGULATE TRIGRID TRIQL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn keyword idlangRoutine TRIRED TRISOL TRNLOG TS_COEF TS_DIFF TS_FCAST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syn keyword idlangRoutine TS_SMOOTH TV TVCRS TVLCT TVRD TVSCL UINDGEN UINT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syn keyword idlangRoutine UINTARR UL64INDGEN ULINDGEN ULON64ARR ULONARR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn keyword idlangRoutine ULONG ULONG64 UNIQ USERSYM VALUE_LOCATE VARIANCE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn keyword idlangRoutine VAX_FLOAT VECTOR_FIELD VEL VELOVECT VERT_T3D VOIGT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn keyword idlangRoutine VORONOI VOXEL_PROJ WAIT WARP_TRI WATERSHED WDELETE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn keyword idlangRoutine WEOF WF_DRAW WHERE WIDGET_BASE WIDGET_BUTTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn keyword idlangRoutine WIDGET_CONTROL WIDGET_DRAW WIDGET_DROPLIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn keyword idlangRoutine WIDGET_EVENT WIDGET_INFO WIDGET_LABEL WIDGET_LIST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn keyword idlangRoutine WIDGET_SLIDER WIDGET_TABLE WIDGET_TEXT WINDOW
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn keyword idlangRoutine WRITE_BMP WRITE_IMAGE WRITE_JPEG WRITE_NRIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn keyword idlangRoutine WRITE_PICT WRITE_PNG WRITE_PPM WRITE_SPR WRITE_SRF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn keyword idlangRoutine WRITE_SYLK WRITE_TIFF WRITE_WAV WRITE_WAVE WRITEU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn keyword idlangRoutine WSET WSHOW WTN WV_APPLET WV_CW_WAVELET WV_CWT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn keyword idlangRoutine WV_DENOISE WV_DWT WV_FN_COIFLET WV_FN_DAUBECHIES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn keyword idlangRoutine WV_FN_GAUSSIAN WV_FN_HAAR WV_FN_MORLET WV_FN_PAUL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn keyword idlangRoutine WV_FN_SYMLET WV_IMPORT_DATA WV_IMPORT_WAVELET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn keyword idlangRoutine WV_PLOT3D_WPS WV_PLOT_MULTIRES WV_PWT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syn keyword idlangRoutine WV_TOOL_DENOISE XBM_EDIT XDISPLAYFILE XDXF XFONT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn keyword idlangRoutine XINTERANIMATE XLOADCT XMANAGER XMNG_TMPL XMTOOL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syn keyword idlangRoutine XOBJVIEW XPALETTE XPCOLOR XPLOT3D XREGISTERED XROI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn keyword idlangRoutine XSQ_TEST XSURFACE XVAREDIT XVOLUME XVOLUME_ROTATE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn keyword idlangRoutine XVOLUME_WRITE_IMAGE XYOUTS ZOOM ZOOM_24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2788
diff changeset
219 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
221 hi def link idlangConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
222 hi def link idlangRoutine Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
223 hi def link idlangStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
224 hi def link idlangContinueLine Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
225 hi def link idlangRealNumber Float
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
226 hi def link idlangNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
227 hi def link idlangString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
228 hi def link idlangOperator Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
229 hi def link idlangComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
230 hi def link idlangTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
231 hi def link idlangPreCondit Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
232 hi def link idlangDblCommaError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
233 hi def link idlangStop Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
234 hi def link idlangStrucvar PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
235 hi def link idlangSystem Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
236 hi def link idlangKeyword Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 let b:current_syntax = "idlang"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 " vim: ts=18