Mercurial > vim
annotate runtime/syntax/esqlc.vim @ 27181:f9f1e76957a6 v8.2.4119
patch 8.2.4119: build failure when disabling the channel feature
Commit: https://github.com/vim/vim/commit/e8741a73e20cd6043dd1610fb4c22ae9d132eb56
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Jan 17 11:23:45 2022 +0000
patch 8.2.4119: build failure when disabling the channel feature
Problem: Build failure when disabling the channel feature.
Solution: Adjust #ifdef. (Dominique Pell?, closes https://github.com/vim/vim/issues/9545)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 17 Jan 2022 12:30:05 +0100 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: ESQL-C | |
3 " Maintainer: Jonathan A. George <jageorge@tel.gte.com> | |
4 " Last Change: 2001 May 09 | |
5 | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
7 if exists("b:current_syntax") |
7 | 8 finish |
9 endif | |
10 | |
11 " Read the C++ syntax to start with | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
12 runtime! syntax/cpp.vim |
7 | 13 |
14 " ESQL-C extentions | |
15 | |
16 syntax keyword esqlcPreProc EXEC SQL INCLUDE | |
17 | |
18 syntax case ignore | |
19 | |
20 syntax keyword esqlcPreProc begin end declare section database open execute | |
21 syntax keyword esqlcPreProc prepare fetch goto continue found sqlerror work | |
22 | |
23 syntax keyword esqlcKeyword access add as asc by check cluster column | |
24 syntax keyword esqlcKeyword compress connect current decimal | |
25 syntax keyword esqlcKeyword desc exclusive file from group | |
26 syntax keyword esqlcKeyword having identified immediate increment index | |
27 syntax keyword esqlcKeyword initial into is level maxextents mode modify | |
28 syntax keyword esqlcKeyword nocompress nowait of offline on online start | |
29 syntax keyword esqlcKeyword successful synonym table then to trigger uid | |
30 syntax keyword esqlcKeyword unique user validate values view whenever | |
31 syntax keyword esqlcKeyword where with option order pctfree privileges | |
32 syntax keyword esqlcKeyword public resource row rowlabel rownum rows | |
33 syntax keyword esqlcKeyword session share size smallint | |
34 | |
35 syntax keyword esqlcOperator not and or | |
36 syntax keyword esqlcOperator in any some all between exists | |
37 syntax keyword esqlcOperator like escape | |
38 syntax keyword esqlcOperator intersect minus | |
39 syntax keyword esqlcOperator prior distinct | |
40 syntax keyword esqlcOperator sysdate | |
41 | |
42 syntax keyword esqlcStatement alter analyze audit comment commit create | |
43 syntax keyword esqlcStatement delete drop explain grant insert lock noaudit | |
44 syntax keyword esqlcStatement rename revoke rollback savepoint select set | |
45 syntax keyword esqlcStatement truncate update | |
46 | |
47 " Define the default highlighting. | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
48 " Only when an item doesn't have highlighting yet |
7 | 49 |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
50 hi def link esqlcOperator Operator |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
51 hi def link esqlcStatement Statement |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
52 hi def link esqlcKeyword esqlcSpecial |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
53 hi def link esqlcSpecial Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
54 hi def link esqlcPreProc PreProc |
7 | 55 |
56 | |
57 let b:current_syntax = "esqlc" | |
58 |