annotate runtime/syntax/sqloracle.vim @ 7597:3012eaddb6b2

commit https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 15 20:57:49 2016 +0100 Update runtime files
author Christian Brabandt <cb@256bit.org>
date Fri, 15 Jan 2016 21:00:07 +0100
parents 17333ebd2bbd
children 9f7bcc2c3b97
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
1 " Vim syntax file
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
2 " Language: SQL, PL/SQL (Oracle 11g)
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
3 " Maintainer: Christian Brabandt
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
4 " Repository: https://github.com/chrisbra/vim-sqloracle-syntax
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
5 " License: Vim
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
6 " Previous Maintainer: Paul Moore
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
7 " Last Change: 2015 Nov 24
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
8
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
9 if exists("b:current_syntax")
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
10 finish
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
11 endif
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
12
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
13 syn case ignore
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
14
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
15 " The SQL reserved words, defined as keywords.
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
16
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
17 syn keyword sqlSpecial false null true
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
18
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
19 syn keyword sqlKeyword access add as asc begin by case check cluster column
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
20 syn keyword sqlKeyword cache compress connect current cursor decimal default desc
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
21 syn keyword sqlKeyword else elsif end exception exclusive file for from
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
22 syn keyword sqlKeyword function group having identified if immediate increment
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
23 syn keyword sqlKeyword index initial initrans into is level link logging loop
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
24 syn keyword sqlKeyword maxextents maxtrans mode modify monitoring
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
25 syn keyword sqlKeyword nocache nocompress nologging noparallel nowait of offline on online start
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
26 syn keyword sqlKeyword parallel successful synonym table tablespace then to trigger uid
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
27 syn keyword sqlKeyword unique user validate values view whenever
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
28 syn keyword sqlKeyword where with option order pctfree pctused privileges procedure
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
29 syn keyword sqlKeyword public resource return row rowlabel rownum rows
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
30 syn keyword sqlKeyword session share size smallint type using
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
31
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
32 syn keyword sqlOperator not and or
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
33 syn keyword sqlOperator in any some all between exists
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
34 syn keyword sqlOperator like escape
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
35 syn keyword sqlOperator union intersect minus
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
36 syn keyword sqlOperator prior distinct
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
37 syn keyword sqlOperator sysdate out
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
38
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
39 syn keyword sqlStatement analyze audit comment commit
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
40 syn keyword sqlStatement delete drop execute explain grant lock noaudit
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
41 syn keyword sqlStatement rename revoke rollback savepoint set
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
42 syn keyword sqlStatement truncate
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
43 " next ones are contained, so folding works.
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
44 syn keyword sqlStatement create update alter select insert contained
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
45
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
46 syn keyword sqlType boolean char character date float integer long
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
47 syn keyword sqlType mlslabel number raw rowid varchar varchar2 varray
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
48
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
49 " Strings:
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
50 syn region sqlString start=+"+ skip=+\\\\\|\\"+ end=+"+
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
51 syn region sqlString start=+'+ skip=+\\\\\|\\'+ end=+'+
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
52
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
53 " Numbers:
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
54 syn match sqlNumber "-\=\<\d*\.\=[0-9_]\>"
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
55
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
56 " Comments:
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
57 syn region sqlComment start="/\*" end="\*/" contains=sqlTodo,@Spell fold
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
58 syn match sqlComment "--.*$" contains=sqlTodo,@Spell
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
59
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
60 " Setup Folding:
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
61 " this is a hack, to get certain statements folded.
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
62 " the keywords create/update/alter/select/insert need to
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
63 " have contained option.
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
64 syn region sqlFold start='^\s*\zs\c\(Create\|Update\|Alter\|Select\|Insert\)' end=';$\|^$' transparent fold contains=ALL
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
65
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
66 syn sync ccomment sqlComment
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
67
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
68 " Functions:
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
69 " (Oracle 11g)
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
70 " Aggregate Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
71 syn keyword sqlFunction avg collect corr corr_s corr_k count covar_pop covar_samp cume_dist dense_rank first
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
72 syn keyword sqlFunction group_id grouping grouping_id last max median min percentile_cont percentile_disc percent_rank rank
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
73 syn keyword sqlFunction regr_slope regr_intercept regr_count regr_r2 regr_avgx regr_avgy regr_sxx regr_syy regr_sxy
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
74 syn keyword sqlFunction stats_binomial_test stats_crosstab stats_f_test stats_ks_test stats_mode stats_mw_test
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
75 syn keyword sqlFunction stats_one_way_anova stats_t_test_one stats_t_test_paired stats_t_test_indep stats_t_test_indepu
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
76 syn keyword sqlFunction stats_wsr_test stddev stddev_pop stddev_samp sum
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
77 syn keyword sqlFunction sys_xmlagg var_pop var_samp variance xmlagg
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
78 " Char Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
79 syn keyword sqlFunction ascii chr concat initcap instr length lower lpad ltrim
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
80 syn keyword sqlFunction nls_initcap nls_lower nlssort nls_upper regexp_instr regexp_replace
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
81 syn keyword sqlFunction regexp_substr replace rpad rtrim soundex substr translate treat trim upper
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
82 " Comparison Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
83 syn keyword sqlFunction greatest least
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
84 " Conversion Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
85 syn keyword sqlFunction asciistr bin_to_num cast chartorowid compose convert
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
86 syn keyword sqlFunction decompose hextoraw numtodsinterval numtoyminterval rawtohex rawtonhex rowidtochar
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
87 syn keyword sqlFunction rowidtonchar scn_to_timestamp timestamp_to_scn to_binary_double to_binary_float
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
88 syn keyword sqlFunction to_char to_char to_char to_clob to_date to_dsinterval to_lob to_multi_byte
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
89 syn keyword sqlFunction to_nchar to_nchar to_nchar to_nclob to_number to_dsinterval to_single_byte
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
90 syn keyword sqlFunction to_timestamp to_timestamp_tz to_yminterval to_yminterval translate unistr
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
91 " DataMining Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
92 syn keyword sqlFunction cluster_id cluster_probability cluster_set feature_id feature_set
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
93 syn keyword sqlFunction feature_value prediction prediction_bounds prediction_cost
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
94 syn keyword sqlFunction prediction_details prediction_probability prediction_set
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
95 " Datetime Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
96 syn keyword sqlFunction add_months current_date current_timestamp dbtimezone extract
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
97 syn keyword sqlFunction from_tz last_day localtimestamp months_between new_time
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
98 syn keyword sqlFunction next_day numtodsinterval numtoyminterval round sessiontimezone
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
99 syn keyword sqlFunction sys_extract_utc sysdate systimestamp to_char to_timestamp
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
100 syn keyword sqlFunction to_timestamp_tz to_dsinterval to_yminterval trunc tz_offset
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
101 " Numeric Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
102 syn keyword sqlFunction abs acos asin atan atan2 bitand ceil cos cosh exp
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
103 syn keyword sqlFunction floor ln log mod nanvl power remainder round sign
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
104 syn keyword sqlFunction sin sinh sqrt tan tanh trunc width_bucket
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
105 " NLS Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
106 syn keyword sqlFunction ls_charset_decl_len nls_charset_id nls_charset_name
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
107 " Various Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
108 syn keyword sqlFunction bfilename cardin coalesce collect decode dump empty_blob empty_clob
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
109 syn keyword sqlFunction lnnvl nullif nvl nvl2 ora_hash powermultiset powermultiset_by_cardinality
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
110 syn keyword sqlFunction sys_connect_by_path sys_context sys_guid sys_typeid uid user userenv vsizeality
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
111 " XML Functions
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
112 syn keyword sqlFunction appendchildxml deletexml depth extract existsnode extractvalue insertchildxml
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
113 syn keyword sqlFunction insertxmlbefore path sys_dburigen sys_xmlagg sys_xmlgen updatexml xmlagg xmlcast
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
114 syn keyword sqlFunction xmlcdata xmlcolattval xmlcomment xmlconcat xmldiff xmlelement xmlexists xmlforest
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
115 syn keyword sqlFunction xmlparse xmlpatch xmlpi xmlquery xmlroot xmlsequence xmlserialize xmltable xmltransform
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
116 " Todo:
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
117 syn keyword sqlTodo TODO FIXME XXX DEBUG NOTE contained
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
118
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
119 " Define the default highlighting.
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
120 command -nargs=+ HiLink hi def link <args>
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
121 HiLink sqlComment Comment
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
122 HiLink sqlFunction Function
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
123 HiLink sqlKeyword sqlSpecial
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
124 HiLink sqlNumber Number
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
125 HiLink sqlOperator sqlStatement
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
126 HiLink sqlSpecial Special
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
127 HiLink sqlStatement Statement
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
128 HiLink sqlString String
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
129 HiLink sqlType Type
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
130 HiLink sqlTodo Todo
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
131
7272
17333ebd2bbd commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Christian Brabandt <cb@256bit.org>
parents: 720
diff changeset
132 delcommand HiLink
720
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
133 let b:current_syntax = "sql"
e180933b876a updated for version 7.0219
vimboss
parents:
diff changeset
134 " vim: ts=8