Mercurial > vim
annotate runtime/syntax/esqlc.vim @ 23715:b6d8d9578375 v8.2.2399
patch 8.2.2399: fold test fails in wide terminal
Commit: https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 24 12:00:01 2021 +0100
patch 8.2.2399: fold test fails in wide terminal
Problem: Fold test fails in wide terminal.
Solution: Adjust the test. (Dominique Pelle, closes https://github.com/vim/vim/issues/7731, closes https://github.com/vim/vim/issues/7739)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 24 Jan 2021 12:15:04 +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 |