annotate runtime/syntax/basic.vim @ 9965:b329e3ca0dcb v7.4.2256

commit https://github.com/vim/vim/commit/db249f26edf7a5f88d1f4468d08ec5b84f5ab7ad Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 16:29:47 2016 +0200 patch 7.4.2256 Problem: Coverity complains about null pointer check. Solution: Remove wrong and superfluous error check.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 16:30:08 +0200
parents 91e53bcb7946
children 43efa4f5a8ea
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: BASIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Allan Kelly <allan@fruitloaf.co.uk>
3237
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
4 " Last Change: 2011 Dec 25 by Thilo Six
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " First version based on Micro$soft QBASIC circa 1989, as documented in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " 'Learn BASIC Now' by Halvorson&Rygmyr. Microsoft Press 1989.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " This syntax file not a complete implementation yet. Send suggestions to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " maintainer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3237
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
19 let s:cpo_save = &cpo
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
20 set cpo&vim
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
21
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " A bunch of useful BASIC keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword basicStatement BEEP beep Beep BLOAD bload Bload BSAVE bsave Bsave
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword basicStatement CALL call Call ABSOLUTE absolute Absolute
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword basicStatement CHAIN chain Chain CHDIR chdir Chdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword basicStatement CIRCLE circle Circle CLEAR clear Clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword basicStatement CLOSE close Close CLS cls Cls COLOR color Color
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword basicStatement COM com Com COMMON common Common
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword basicStatement CONST const Const DATA data Data
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword basicStatement DECLARE declare Declare DEF def Def
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword basicStatement DEFDBL defdbl Defdbl DEFINT defint Defint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword basicStatement DEFLNG deflng Deflng DEFSNG defsng Defsng
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword basicStatement DEFSTR defstr Defstr DIM dim Dim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword basicStatement DO do Do LOOP loop Loop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword basicStatement DRAW draw Draw END end End
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword basicStatement ENVIRON environ Environ ERASE erase Erase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword basicStatement ERROR error Error EXIT exit Exit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword basicStatement FIELD field Field FILES files Files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword basicStatement FOR for For NEXT next Next
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword basicStatement FUNCTION function Function GET get Get
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword basicStatement GOSUB gosub Gosub GOTO goto Goto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword basicStatement IF if If THEN then Then ELSE else Else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword basicStatement INPUT input Input INPUT# input# Input#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword basicStatement IOCTL ioctl Ioctl KEY key Key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn keyword basicStatement KILL kill Kill LET let Let
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword basicStatement LINE line Line LOCATE locate Locate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword basicStatement LOCK lock Lock UNLOCK unlock Unlock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword basicStatement LPRINT lprint Lprint USING using Using
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn keyword basicStatement LSET lset Lset MKDIR mkdir Mkdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword basicStatement NAME name Name ON on On
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword basicStatement ERROR error Error OPEN open Open
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword basicStatement OPTION option Option BASE base Base
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn keyword basicStatement OUT out Out PAINT paint Paint
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn keyword basicStatement PALETTE palette Palette PCOPY pcopy Pcopy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn keyword basicStatement PEN pen Pen PLAY play Play
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword basicStatement PMAP pmap Pmap POKE poke Poke
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword basicStatement PRESET preset Preset PRINT print Print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn keyword basicStatement PRINT# print# Print# USING using Using
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn keyword basicStatement PSET pset Pset PUT put Put
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword basicStatement RANDOMIZE randomize Randomize READ read Read
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn keyword basicStatement REDIM redim Redim RESET reset Reset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword basicStatement RESTORE restore Restore RESUME resume Resume
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword basicStatement RETURN return Return RMDIR rmdir Rmdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword basicStatement RSET rset Rset RUN run Run
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword basicStatement SEEK seek Seek SELECT select Select
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword basicStatement CASE case Case SHARED shared Shared
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword basicStatement SHELL shell Shell SLEEP sleep Sleep
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword basicStatement SOUND sound Sound STATIC static Static
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword basicStatement STOP stop Stop STRIG strig Strig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword basicStatement SUB sub Sub SWAP swap Swap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword basicStatement SYSTEM system System TIMER timer Timer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword basicStatement TROFF troff Troff TRON tron Tron
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword basicStatement TYPE type Type UNLOCK unlock Unlock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword basicStatement VIEW view View WAIT wait Wait
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword basicStatement WHILE while While WEND wend Wend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword basicStatement WIDTH width Width WINDOW window Window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword basicStatement WRITE write Write DATE$ date$ Date$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword basicStatement MID$ mid$ Mid$ TIME$ time$ Time$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword basicFunction ABS abs Abs ASC asc Asc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword basicFunction ATN atn Atn CDBL cdbl Cdbl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword basicFunction CINT cint Cint CLNG clng Clng
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword basicFunction COS cos Cos CSNG csng Csng
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword basicFunction CSRLIN csrlin Csrlin CVD cvd Cvd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword basicFunction CVDMBF cvdmbf Cvdmbf CVI cvi Cvi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword basicFunction CVL cvl Cvl CVS cvs Cvs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword basicFunction CVSMBF cvsmbf Cvsmbf EOF eof Eof
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword basicFunction ERDEV erdev Erdev ERL erl Erl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword basicFunction ERR err Err EXP exp Exp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword basicFunction FILEATTR fileattr Fileattr FIX fix Fix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword basicFunction FRE fre Fre FREEFILE freefile Freefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword basicFunction INP inp Inp INSTR instr Instr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword basicFunction INT int Int LBOUND lbound Lbound
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword basicFunction LEN len Len LOC loc Loc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword basicFunction LOF lof Lof LOG log Log
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword basicFunction LPOS lpos Lpos PEEK peek Peek
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword basicFunction PEN pen Pen POINT point Point
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword basicFunction POS pos Pos RND rnd Rnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword basicFunction SADD sadd Sadd SCREEN screen Screen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword basicFunction SEEK seek Seek SETMEM setmem Setmem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword basicFunction SGN sgn Sgn SIN sin Sin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword basicFunction SPC spc Spc SQR sqr Sqr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword basicFunction STICK stick Stick STRIG strig Strig
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword basicFunction TAB tab Tab TAN tan Tan
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword basicFunction UBOUND ubound Ubound VAL val Val
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword basicFunction VALPTR valptr Valptr VALSEG valseg Valseg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword basicFunction VARPTR varptr Varptr VARSEG varseg Varseg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword basicFunction CHR$ Chr$ chr$ COMMAND$ command$ Command$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword basicFunction DATE$ date$ Date$ ENVIRON$ environ$ Environ$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword basicFunction ERDEV$ erdev$ Erdev$ HEX$ hex$ Hex$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword basicFunction INKEY$ inkey$ Inkey$ INPUT$ input$ Input$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword basicFunction IOCTL$ ioctl$ Ioctl$ LCASES$ lcases$ Lcases$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword basicFunction LAFT$ laft$ Laft$ LTRIM$ ltrim$ Ltrim$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword basicFunction MID$ mid$ Mid$ MKDMBF$ mkdmbf$ Mkdmbf$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword basicFunction MKD$ mkd$ Mkd$ MKI$ mki$ Mki$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword basicFunction MKL$ mkl$ Mkl$ MKSMBF$ mksmbf$ Mksmbf$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword basicFunction MKS$ mks$ Mks$ OCT$ oct$ Oct$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword basicFunction RIGHT$ right$ Right$ RTRIM$ rtrim$ Rtrim$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword basicFunction SPACE$ space$ Space$ STR$ str$ Str$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn keyword basicFunction STRING$ string$ String$ TIME$ time$ Time$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword basicFunction UCASE$ ucase$ Ucase$ VARPTR$ varptr$ Varptr$
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword basicTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 "integer number, or floating point number without a dot.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match basicNumber "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 "floating point number, with dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match basicNumber "\<\d\+\.\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 "floating point number, starting with a dot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match basicNumber "\.\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 " String and Character contstants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match basicSpecial contained "\\\d\d\d\|\\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn region basicString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=basicSpecial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn region basicComment start="REM" end="$" contains=basicTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn region basicComment start="^[ \t]*'" end="$" contains=basicTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn region basicLineNumber start="^\d" end="\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match basicTypeSpecifier "[a-zA-Z0-9][\$%&!#]"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 " Used with OPEN statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match basicFilenumber "#\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 "syn sync ccomment basicComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 " syn match basicMathsOperator "[<>+\*^/\\=-]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match basicMathsOperator "-\|=\|[:<>+\*^/\\]\|AND\|OR"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 if version >= 508 || !exists("did_basic_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 let did_basic_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 HiLink basicLabel Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 HiLink basicConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 HiLink basicRepeat Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 HiLink basicLineNumber Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 HiLink basicNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 HiLink basicError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 HiLink basicStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 HiLink basicString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 HiLink basicComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 HiLink basicSpecial Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 HiLink basicTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 HiLink basicFunction Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 HiLink basicTypeSpecifier Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 HiLink basicFilenumber basicTypeSpecifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 "hi basicMathsOperator term=bold cterm=bold gui=bold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 let b:current_syntax = "basic"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3237
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
177 let &cpo = s:cpo_save
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
178 unlet s:cpo_save
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 " vim: ts=8