annotate runtime/syntax/sqr.vim @ 27863:f1799ba16729 v8.2.4457

patch 8.2.4457: the GPM library can only be linked statically Commit: https://github.com/vim/vim/commit/33fc4a63071c03ad46636b345a814e7e6d8f4ae0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 23 18:07:38 2022 +0000 patch 8.2.4457: the GPM library can only be linked statically Problem: The GPM library can only be linked statically. Solution: Make it possible to load the GPM library dynamically. (Damien)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Feb 2022 19:15:03 +0100
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Structured Query Report Writer (SQR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Nathan Stratton Treadway (nathanst at ontko dot com)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://www.ontko.com/sqr/#editor_config_files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Modification History:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " 2002-Apr-12: Updated for SQR v6.x
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " 2002-Jul-30: Added { and } to iskeyword definition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " 2003-Oct-15: Allow "." in variable names
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " highlight entire open '... literal when it contains
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " "''" inside it (e.g. "'I can''t say" is treated
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " as one open string, not one terminated and one open)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " {} variables can occur inside of '...' literals
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " Thanks to the previous maintainer of this file, Jeff Lanzarotta:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " http://lanzarotta.tripod.com/vim.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " jefflanzarotta at yahoo dot com
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
19 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
20 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
24 setlocal iskeyword=@,48-57,_,-,#,$,{,}
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " BEGIN GENERATED SECTION ============================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " Generated by generate_vim_syntax.sqr at 2002/04/11 13:04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " (based on the UltraEdit syntax file for SQR 6.1.4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " found at http://www.ontko.com/sqr/#editor_config_files )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword sqrSection begin-footing begin-heading begin-procedure
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword sqrSection begin-program begin-report begin-setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword sqrSection end-footing end-heading end-procedure
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword sqrSection end-program end-report end-setup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3153
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
39 syn keyword sqrParagraph alter-color-map alter-connection
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword sqrParagraph alter-locale alter-printer alter-report
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword sqrParagraph begin-document begin-execute begin-select
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword sqrParagraph begin-sql declare-chart declare-image
3153
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
43 syn keyword sqrParagraph declare-color-map declare-connection
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword sqrParagraph declare-layout declare-printer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword sqrParagraph declare-report declare-procedure
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword sqrParagraph declare-toc declare-variable end-declare
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword sqrParagraph end-document end-select exit-select end-sql
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword sqrParagraph load-lookup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword sqrReserved #current-column #current-date #current-line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword sqrReserved #end-file #page-count #return-status
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword sqrReserved #sql-count #sql-status #sqr-max-columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword sqrReserved #sqr-max-lines #sqr-pid #sqr-toc-level
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword sqrReserved #sqr-toc-page $sqr-database {sqr-database}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword sqrReserved $sqr-dbcs {sqr-dbcs} $sqr-encoding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword sqrReserved {sqr-encoding} $sqr-encoding-console
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword sqrReserved {sqr-encoding-console}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn keyword sqrReserved $sqr-encoding-database
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn keyword sqrReserved {sqr-encoding-database}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword sqrReserved $sqr-encoding-file-input
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword sqrReserved {sqr-encoding-file-input}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword sqrReserved $sqr-encoding-file-output
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword sqrReserved {sqr-encoding-file-output}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword sqrReserved $sqr-encoding-report-input
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword sqrReserved {sqr-encoding-report-input}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword sqrReserved $sqr-encoding-report-output
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword sqrReserved {sqr-encoding-report-output}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword sqrReserved $sqr-encoding-source {sqr-encoding-source}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword sqrReserved $sql-error $sqr-hostname {sqr-hostname}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword sqrReserved $sqr-locale $sqr-platform {sqr-platform}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword sqrReserved $sqr-program $sqr-report $sqr-toc-text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword sqrReserved $sqr-ver $username
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword sqrPreProc #define #else #end-if #endif #if #ifdef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword sqrPreProc #ifndef #include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword sqrCommand add array-add array-divide array-multiply
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword sqrCommand array-subtract ask break call clear-array
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword sqrCommand close columns commit concat connect
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword sqrCommand create-array create-color-palette date-time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword sqrCommand display divide do dollar-symbol else encode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword sqrCommand end-evaluate end-if end-while evaluate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword sqrCommand execute extract find get get-color goto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword sqrCommand graphic if input last-page let lookup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword sqrCommand lowercase mbtosbs money-symbol move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword sqrCommand multiply new-page new-report next-column
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword sqrCommand next-listing no-formfeed open page-number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword sqrCommand page-size position print print-bar-code
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword sqrCommand print-chart print-direct print-image
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword sqrCommand printer-deinit printer-init put read
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword sqrCommand rollback security set-color set-delay-print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword sqrCommand set-generations set-levels set-members
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword sqrCommand sbtombs show stop string subtract toc-entry
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword sqrCommand unstring uppercase use use-column
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword sqrCommand use-printer-type use-procedure use-report
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword sqrCommand while write
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword sqrParam 3d-effects after after-bold after-page
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword sqrParam after-report after-toc and as at-end before
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword sqrParam background batch-mode beep before-bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword sqrParam before-page before-report before-toc blink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword sqrParam bold border bottom-margin box break by
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword sqrParam caption center char char-size char-width
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword sqrParam chars-inch chart-size checksum cl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword sqrParam clear-line clear-screen color color-palette
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword sqrParam cs color_ data-array
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword sqrParam data-array-column-count
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword sqrParam data-array-column-labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword sqrParam data-array-row-count data-labels date
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword sqrParam date-edit-mask date-seperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword sqrParam day-of-week-case day-of-week-full
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword sqrParam day-of-week-short decimal decimal-seperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword sqrParam default-numeric delay distinct dot-leader
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword sqrParam edit-option-ad edit-option-am
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword sqrParam edit-option-bc edit-option-na
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword sqrParam edit-option-pm encoding entry erase-page
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword sqrParam extent field fill fixed fixed_nolf float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword sqrParam font font-style font-type footing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword sqrParam footing-size foreground for-append
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword sqrParam for-reading for-reports for-tocs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword sqrParam for-writing format formfeed from goto-top
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword sqrParam group having heading heading-size height
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword sqrParam horz-line image-size in indentation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword sqrParam init-string input-date-edit-mask insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword sqrParam integer into item-color item-size key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword sqrParam layout left-margin legend legend-placement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword sqrParam legend-presentation legend-title level
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword sqrParam line-height line-size line-width lines-inch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword sqrParam local locale loops max-columns max-lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword sqrParam maxlen money money-edit-mask money-sign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword sqrParam money-sign-location months-case months-full
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword sqrParam months-short name need newline newpage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword sqrParam no-advance nolf noline noprompt normal not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword sqrParam nowait number number-edit-mask on-break
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword sqrParam on-error or order orientation page-depth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword sqrParam paper-size pie-segment-explode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword sqrParam pie-segment-percent-display
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword sqrParam pie-segment-quantity-display pitch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword sqrParam point-markers point-size printer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword sqrParam printer-type quiet record reset-string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword sqrParam return_value reverse right-margin rows save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword sqrParam select size skip skiplines sort source
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword sqrParam sqr-database sqr-platform startup-file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword sqrParam status stop sub-title symbol-set system
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword sqrParam table text thousand-seperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword sqrParam time-seperator times title to toc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword sqrParam top-margin type underline update using
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword sqrParam value vary vert-line wait warn when
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword sqrParam when-other where with x-axis-grid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword sqrParam x-axis-label x-axis-major-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword sqrParam x-axis-major-tick-marks x-axis-max-value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword sqrParam x-axis-min-value x-axis-minor-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword sqrParam x-axis-minor-tick-marks x-axis-rotate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword sqrParam x-axis-scale x-axis-tick-mark-placement xor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword sqrParam y-axis-grid y-axis-label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword sqrParam y-axis-major-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword sqrParam y-axis-major-tick-marks y-axis-max-value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword sqrParam y-axis-min-value y-axis-minor-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword sqrParam y-axis-minor-tick-marks y-axis-scale
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword sqrParam y-axis-tick-mark-placement y2-type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword sqrParam y2-data-array y2-data-array-row-count
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword sqrParam y2-data-array-column-count
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword sqrParam y2-data-array-column-labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword sqrParam y2-axis-color-palette y2-axis-label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword sqrParam y2-axis-major-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword sqrParam y2-axis-major-tick-marks y2-axis-max-value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn keyword sqrParam y2-axis-min-value y2-axis-minor-increment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword sqrParam y2-axis-minor-tick-marks y2-axis-scale
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword sqrFunction abs acos asin atan array ascii asciic ceil
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword sqrFunction cos cosh chr cond deg delete dateadd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn keyword sqrFunction datediff datenow datetostr e10 exp edit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword sqrFunction exists floor getenv instr instrb isblank
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn keyword sqrFunction isnull log log10 length lengthb lengthp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn keyword sqrFunction lengtht lower lpad ltrim mod nvl power rad
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn keyword sqrFunction round range replace roman rpad rtrim rename
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn keyword sqrFunction sign sin sinh sqrt substr substrb substrp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword sqrFunction substrt strtodate tan tanh trunc to_char
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn keyword sqrFunction to_multi_byte to_number to_single_byte
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn keyword sqrFunction transform translate unicode upper wrapdepth
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " END GENERATED SECTION ==============================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 " Variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn match sqrVariable /\(\$\|#\|&\)\(\k\|\.\)*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 " Debug compiler directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn match sqrPreProc /\s*#debug\a\=\(\s\|$\)/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn match sqrSubstVar /{\k*}/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 " Strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 " Note: if an undoubled ! is found, this is not a valid string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 " (SQR will treat the end of the line as a comment)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syn match sqrString /'\(!!\|[^!']\)*'/ contains=sqrSubstVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn match sqrStrOpen /'\(!!\|''\|[^!']\)*$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 " If we find a ' followed by an unmatched ! before a matching ',
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 " flag the error.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn match sqrError /'\(!!\|[^'!]\)*![^!]/me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn match sqrError /'\(!!\|[^'!]\)*!$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 " Numbers:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match sqrNumber /-\=\<\d*\.\=[0-9_]\>/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 " Comments:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 " Handle comments that start with "!=" specially; they are only valid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 " in the first column of the source line. Also, "!!" is only treated
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 " as a start-comment if there is only whitespace ahead of it on the line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn keyword sqrTodo TODO FIXME XXX DEBUG NOTE ###
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syn match sqrTodo /???/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
216 " See also the sqrString section above for handling of ! characters
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
217 " inside of strings. (Those patterns override the ones below.)
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
218 syn match sqrComment /!\@<!!\([^!=].*\|$\)/ contains=sqrTodo
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
219 " the ! can't be preceded by another !,
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
220 " and must be followed by at least one
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
221 " character other than ! or =, or immediately
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
222 " by the end-of-line
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
223 syn match sqrComment /^!=.*/ contains=sqrTodo
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
224 syn match sqrComment /^!!.*/ contains=sqrTodo
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
225 syn match sqrError /^\s\+\zs!=.*/
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
226 " it's an error to have "!=" preceded by
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
227 " just whitespace on the line ("!="
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
228 " preceded by non-whitespace is treated
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
229 " as neither a comment nor an error, since
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
230 " it is often correct, i.e.
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
231 " if #count != 7
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
232 syn match sqrError /.\+\zs!!.*/
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
233 " a "!!" anywhere but at the beginning of
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
234 " the line is always an error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3153
diff changeset
238 " Only when an item doesn't have highlighting yet.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
240 hi def link sqrSection Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
241 hi def link sqrParagraph Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
242 hi def link sqrReserved Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
243 hi def link sqrParameter Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
244 hi def link sqrPreProc PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
245 hi def link sqrSubstVar PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
246 hi def link sqrCommand Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
247 hi def link sqrParam Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
248 hi def link sqrFunction Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
250 hi def link sqrString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
251 hi def link sqrStrOpen Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
252 hi def link sqrNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
253 hi def link sqrVariable Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
255 hi def link sqrComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
256 hi def link sqrTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
257 hi def link sqrError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 let b:current_syntax = "sqr"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 " vim: ts=8 sw=2