1c6249bb2SBram Moolenaar" stata.vim -- Vim syntax file for Stata do, ado, and class files. 2c6249bb2SBram Moolenaar" Language: Stata and/or Mata 3c6249bb2SBram Moolenaar" Maintainer: Jeff Pitblado <[email protected]> 4f193fffdSBram Moolenaar" Last Change: 26apr2006 5f193fffdSBram Moolenaar" Version: 1.1.4 6c6249bb2SBram Moolenaar 7c6249bb2SBram Moolenaar" Log: 8c6249bb2SBram Moolenaar" 14apr2006 renamed syntax groups st* to stata* 9c6249bb2SBram Moolenaar" 'syntax clear' only under version control 10a93fa7eeSBram Moolenaar" check for 'b:current_syntax', removed 'did_stata_syntax_inits' 11f193fffdSBram Moolenaar" 17apr2006 fixed start expression for stataFunc 12f193fffdSBram Moolenaar" 26apr2006 fixed brace confusion in stataErrInParen and stataErrInBracket 13f193fffdSBram Moolenaar" fixed paren/bracket confusion in stataFuncGroup 14c6249bb2SBram Moolenaar 15*89bcfda6SBram Moolenaar" quit when a syntax file was already loaded 16*89bcfda6SBram Moolenaarif exists("b:current_syntax") 17c6249bb2SBram Moolenaar finish 18c6249bb2SBram Moolenaarendif 19c6249bb2SBram Moolenaar 20c6249bb2SBram Moolenaarsyntax case match 21c6249bb2SBram Moolenaar 22c6249bb2SBram Moolenaar" comments - single line 23c6249bb2SBram Moolenaar" note that the triple slash continuing line comment comes free 24c6249bb2SBram Moolenaarsyn region stataStarComment start=/^\s*\*/ end=/$/ contains=stataComment oneline 25c6249bb2SBram Moolenaarsyn region stataSlashComment start="\s//" end=/$/ contains=stataComment oneline 26c6249bb2SBram Moolenaarsyn region stataSlashComment start="^//" end=/$/ contains=stataComment oneline 27c6249bb2SBram Moolenaar" comments - multiple line 28c6249bb2SBram Moolenaarsyn region stataComment start="/\*" end="\*/" contains=stataComment 29c6249bb2SBram Moolenaar 30c6249bb2SBram Moolenaar" global macros - simple case 31c6249bb2SBram Moolenaarsyn match stataGlobal /\$\a\w*/ 32c6249bb2SBram Moolenaar" global macros - general case 33c6249bb2SBram Moolenaarsyn region stataGlobal start=/\${/ end=/}/ oneline contains=@stataMacroGroup 34c6249bb2SBram Moolenaar" local macros - general case 35c6249bb2SBram Moolenaarsyn region stataLocal start=/`/ end=/'/ oneline contains=@stataMacroGroup 36c6249bb2SBram Moolenaar 37c6249bb2SBram Moolenaar" numeric formats 38c6249bb2SBram Moolenaarsyn match stataFormat /%-\=\d\+\.\d\+[efg]c\=/ 39c6249bb2SBram Moolenaar" numeric hex format 40c6249bb2SBram Moolenaarsyn match stataFormat /%-\=21x/ 41c6249bb2SBram Moolenaar" string format 42c6249bb2SBram Moolenaarsyn match stataFormat /%\(\|-\|\~\)\d\+s/ 43c6249bb2SBram Moolenaar 44c6249bb2SBram Moolenaar" Statements 45c6249bb2SBram Moolenaarsyn keyword stataConditional else if 46c6249bb2SBram Moolenaarsyn keyword stataRepeat foreach 47c6249bb2SBram Moolenaarsyn keyword stataRepeat forv[alues] 48c6249bb2SBram Moolenaarsyn keyword stataRepeat while 49c6249bb2SBram Moolenaar 50c6249bb2SBram Moolenaar" Common programming commands 51c6249bb2SBram Moolenaarsyn keyword stataCommand about 52c6249bb2SBram Moolenaarsyn keyword stataCommand adopath 53c6249bb2SBram Moolenaarsyn keyword stataCommand adoupdate 54c6249bb2SBram Moolenaarsyn keyword stataCommand assert 55c6249bb2SBram Moolenaarsyn keyword stataCommand break 56c6249bb2SBram Moolenaarsyn keyword stataCommand by 57c6249bb2SBram Moolenaarsyn keyword stataCommand cap[ture] 58c6249bb2SBram Moolenaarsyn keyword stataCommand cd 59c6249bb2SBram Moolenaarsyn keyword stataCommand chdir 60c6249bb2SBram Moolenaarsyn keyword stataCommand checksum 61c6249bb2SBram Moolenaarsyn keyword stataCommand class 62c6249bb2SBram Moolenaarsyn keyword stataCommand classutil 63c6249bb2SBram Moolenaarsyn keyword stataCommand compress 64c6249bb2SBram Moolenaarsyn keyword stataCommand conf[irm] 65c6249bb2SBram Moolenaarsyn keyword stataCommand conren 66c6249bb2SBram Moolenaarsyn keyword stataCommand continue 67c6249bb2SBram Moolenaarsyn keyword stataCommand cou[nt] 68c6249bb2SBram Moolenaarsyn keyword stataCommand cscript 69c6249bb2SBram Moolenaarsyn keyword stataCommand cscript_log 70c6249bb2SBram Moolenaarsyn keyword stataCommand #delimit 71c6249bb2SBram Moolenaarsyn keyword stataCommand d[escribe] 72c6249bb2SBram Moolenaarsyn keyword stataCommand dir 73c6249bb2SBram Moolenaarsyn keyword stataCommand discard 74c6249bb2SBram Moolenaarsyn keyword stataCommand di[splay] 75c6249bb2SBram Moolenaarsyn keyword stataCommand do 76c6249bb2SBram Moolenaarsyn keyword stataCommand doedit 77c6249bb2SBram Moolenaarsyn keyword stataCommand drop 78c6249bb2SBram Moolenaarsyn keyword stataCommand edit 79c6249bb2SBram Moolenaarsyn keyword stataCommand end 80c6249bb2SBram Moolenaarsyn keyword stataCommand erase 81c6249bb2SBram Moolenaarsyn keyword stataCommand eret[urn] 82c6249bb2SBram Moolenaarsyn keyword stataCommand err[or] 83c6249bb2SBram Moolenaarsyn keyword stataCommand e[xit] 84c6249bb2SBram Moolenaarsyn keyword stataCommand expand 85c6249bb2SBram Moolenaarsyn keyword stataCommand expandcl 86c6249bb2SBram Moolenaarsyn keyword stataCommand file 87c6249bb2SBram Moolenaarsyn keyword stataCommand findfile 88c6249bb2SBram Moolenaarsyn keyword stataCommand format 89c6249bb2SBram Moolenaarsyn keyword stataCommand g[enerate] 90c6249bb2SBram Moolenaarsyn keyword stataCommand gettoken 91c6249bb2SBram Moolenaarsyn keyword stataCommand gl[obal] 92c6249bb2SBram Moolenaarsyn keyword stataCommand help 93c6249bb2SBram Moolenaarsyn keyword stataCommand hexdump 94c6249bb2SBram Moolenaarsyn keyword stataCommand include 95c6249bb2SBram Moolenaarsyn keyword stataCommand infile 96c6249bb2SBram Moolenaarsyn keyword stataCommand infix 97c6249bb2SBram Moolenaarsyn keyword stataCommand input 98c6249bb2SBram Moolenaarsyn keyword stataCommand insheet 99c6249bb2SBram Moolenaarsyn keyword stataCommand joinby 100c6249bb2SBram Moolenaarsyn keyword stataCommand la[bel] 101c6249bb2SBram Moolenaarsyn keyword stataCommand levelsof 102c6249bb2SBram Moolenaarsyn keyword stataCommand list 103c6249bb2SBram Moolenaarsyn keyword stataCommand loc[al] 104c6249bb2SBram Moolenaarsyn keyword stataCommand log 105c6249bb2SBram Moolenaarsyn keyword stataCommand ma[cro] 106c6249bb2SBram Moolenaarsyn keyword stataCommand mark 107c6249bb2SBram Moolenaarsyn keyword stataCommand markout 108c6249bb2SBram Moolenaarsyn keyword stataCommand marksample 109c6249bb2SBram Moolenaarsyn keyword stataCommand mata 110c6249bb2SBram Moolenaarsyn keyword stataCommand matrix 111c6249bb2SBram Moolenaarsyn keyword stataCommand memory 112c6249bb2SBram Moolenaarsyn keyword stataCommand merge 113c6249bb2SBram Moolenaarsyn keyword stataCommand mkdir 114c6249bb2SBram Moolenaarsyn keyword stataCommand more 115c6249bb2SBram Moolenaarsyn keyword stataCommand net 116c6249bb2SBram Moolenaarsyn keyword stataCommand nobreak 117c6249bb2SBram Moolenaarsyn keyword stataCommand n[oisily] 118c6249bb2SBram Moolenaarsyn keyword stataCommand note[s] 119c6249bb2SBram Moolenaarsyn keyword stataCommand numlist 120c6249bb2SBram Moolenaarsyn keyword stataCommand outfile 121c6249bb2SBram Moolenaarsyn keyword stataCommand outsheet 122c6249bb2SBram Moolenaarsyn keyword stataCommand _parse 123c6249bb2SBram Moolenaarsyn keyword stataCommand pause 124c6249bb2SBram Moolenaarsyn keyword stataCommand plugin 125c6249bb2SBram Moolenaarsyn keyword stataCommand post 126c6249bb2SBram Moolenaarsyn keyword stataCommand postclose 127c6249bb2SBram Moolenaarsyn keyword stataCommand postfile 128c6249bb2SBram Moolenaarsyn keyword stataCommand preserve 129c6249bb2SBram Moolenaarsyn keyword stataCommand print 130c6249bb2SBram Moolenaarsyn keyword stataCommand printer 131c6249bb2SBram Moolenaarsyn keyword stataCommand profiler 132c6249bb2SBram Moolenaarsyn keyword stataCommand pr[ogram] 133c6249bb2SBram Moolenaarsyn keyword stataCommand q[uery] 134c6249bb2SBram Moolenaarsyn keyword stataCommand qui[etly] 135c6249bb2SBram Moolenaarsyn keyword stataCommand rcof 136c6249bb2SBram Moolenaarsyn keyword stataCommand reg[ress] 137c6249bb2SBram Moolenaarsyn keyword stataCommand rename 138c6249bb2SBram Moolenaarsyn keyword stataCommand repeat 139c6249bb2SBram Moolenaarsyn keyword stataCommand replace 140c6249bb2SBram Moolenaarsyn keyword stataCommand reshape 141c6249bb2SBram Moolenaarsyn keyword stataCommand ret[urn] 142c6249bb2SBram Moolenaarsyn keyword stataCommand _rmcoll 143c6249bb2SBram Moolenaarsyn keyword stataCommand _rmcoll 144c6249bb2SBram Moolenaarsyn keyword stataCommand _rmcollright 145c6249bb2SBram Moolenaarsyn keyword stataCommand rmdir 146c6249bb2SBram Moolenaarsyn keyword stataCommand _robust 147c6249bb2SBram Moolenaarsyn keyword stataCommand save 148c6249bb2SBram Moolenaarsyn keyword stataCommand sca[lar] 149c6249bb2SBram Moolenaarsyn keyword stataCommand search 150c6249bb2SBram Moolenaarsyn keyword stataCommand serset 151c6249bb2SBram Moolenaarsyn keyword stataCommand set 152c6249bb2SBram Moolenaarsyn keyword stataCommand shell 153c6249bb2SBram Moolenaarsyn keyword stataCommand sleep 154c6249bb2SBram Moolenaarsyn keyword stataCommand sort 155c6249bb2SBram Moolenaarsyn keyword stataCommand split 156c6249bb2SBram Moolenaarsyn keyword stataCommand sret[urn] 157c6249bb2SBram Moolenaarsyn keyword stataCommand ssc 158c6249bb2SBram Moolenaarsyn keyword stataCommand su[mmarize] 159c6249bb2SBram Moolenaarsyn keyword stataCommand syntax 160c6249bb2SBram Moolenaarsyn keyword stataCommand sysdescribe 161c6249bb2SBram Moolenaarsyn keyword stataCommand sysdir 162c6249bb2SBram Moolenaarsyn keyword stataCommand sysuse 163c6249bb2SBram Moolenaarsyn keyword stataCommand token[ize] 164c6249bb2SBram Moolenaarsyn keyword stataCommand translate 165c6249bb2SBram Moolenaarsyn keyword stataCommand type 166c6249bb2SBram Moolenaarsyn keyword stataCommand unab 167c6249bb2SBram Moolenaarsyn keyword stataCommand unabcmd 168c6249bb2SBram Moolenaarsyn keyword stataCommand update 169c6249bb2SBram Moolenaarsyn keyword stataCommand use 170c6249bb2SBram Moolenaarsyn keyword stataCommand vers[ion] 171c6249bb2SBram Moolenaarsyn keyword stataCommand view 172c6249bb2SBram Moolenaarsyn keyword stataCommand viewsource 173c6249bb2SBram Moolenaarsyn keyword stataCommand webdescribe 174c6249bb2SBram Moolenaarsyn keyword stataCommand webseek 175c6249bb2SBram Moolenaarsyn keyword stataCommand webuse 176c6249bb2SBram Moolenaarsyn keyword stataCommand which 177c6249bb2SBram Moolenaarsyn keyword stataCommand who 178c6249bb2SBram Moolenaarsyn keyword stataCommand window 179c6249bb2SBram Moolenaar 180c6249bb2SBram Moolenaar" Literals 181c6249bb2SBram Moolenaarsyn match stataQuote /"/ 182c6249bb2SBram Moolenaarsyn region stataEString matchgroup=Nothing start=/`"/ end=/"'/ oneline contains=@stataMacroGroup,stataQuote,stataString,stataEString 183c6249bb2SBram Moolenaarsyn region stataString matchgroup=Nothing start=/"/ end=/"/ oneline contains=@stataMacroGroup 184c6249bb2SBram Moolenaar 185c6249bb2SBram Moolenaar" define clusters 186f193fffdSBram Moolenaarsyn cluster stataFuncGroup contains=@stataMacroGroup,stataFunc,stataString,stataEstring,stataParen,stataBracket 187c6249bb2SBram Moolenaarsyn cluster stataMacroGroup contains=stataGlobal,stataLocal 188c6249bb2SBram Moolenaarsyn cluster stataParenGroup contains=stataParenError,stataBracketError,stataBraceError,stataSpecial,stataFormat 189c6249bb2SBram Moolenaar 190c6249bb2SBram Moolenaar" Stata functions 191c6249bb2SBram Moolenaar" Math 192a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<abs(/ end=/)/ contains=@stataFuncGroup 193a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<acos(/ end=/)/ contains=@stataFuncGroup 194a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<asin(/ end=/)/ contains=@stataFuncGroup 195a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<atan(/ end=/)/ contains=@stataFuncGroup 196a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<atan2(/ end=/)/ contains=@stataFuncGroup 197a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<atanh(/ end=/)/ contains=@stataFuncGroup 198a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ceil(/ end=/)/ contains=@stataFuncGroup 199a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<cloglog(/ end=/)/ contains=@stataFuncGroup 200a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<comb(/ end=/)/ contains=@stataFuncGroup 201a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<cos(/ end=/)/ contains=@stataFuncGroup 202a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<digamma(/ end=/)/ contains=@stataFuncGroup 203a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<exp(/ end=/)/ contains=@stataFuncGroup 204a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<floor(/ end=/)/ contains=@stataFuncGroup 205a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<int(/ end=/)/ contains=@stataFuncGroup 206a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invcloglog(/ end=/)/ contains=@stataFuncGroup 207a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invlogit(/ end=/)/ contains=@stataFuncGroup 208a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ln(/ end=/)/ contains=@stataFuncGroup 209a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lnfact(/ end=/)/ contains=@stataFuncGroup 210a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lnfactorial(/ end=/)/ contains=@stataFuncGroup 211a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lngamma(/ end=/)/ contains=@stataFuncGroup 212a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<log(/ end=/)/ contains=@stataFuncGroup 213a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<log10(/ end=/)/ contains=@stataFuncGroup 214a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<logit(/ end=/)/ contains=@stataFuncGroup 215a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<max(/ end=/)/ contains=@stataFuncGroup 216a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mod(/ end=/)/ contains=@stataFuncGroup 217a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<reldif(/ end=/)/ contains=@stataFuncGroup 218a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<round(/ end=/)/ contains=@stataFuncGroup 219a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<sign(/ end=/)/ contains=@stataFuncGroup 220a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<sin(/ end=/)/ contains=@stataFuncGroup 221a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<sqrt(/ end=/)/ contains=@stataFuncGroup 222a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<sum(/ end=/)/ contains=@stataFuncGroup 223a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<tan(/ end=/)/ contains=@stataFuncGroup 224a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<tanh(/ end=/)/ contains=@stataFuncGroup 225a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<trigamma(/ end=/)/ contains=@stataFuncGroup 226a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<trunc(/ end=/)/ contains=@stataFuncGroup 227c6249bb2SBram Moolenaar" Probability distriubtions and density functions 228a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<betaden(/ end=/)/ contains=@stataFuncGroup 229a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<Binomial(/ end=/)/ contains=@stataFuncGroup 230a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<binorm(/ end=/)/ contains=@stataFuncGroup 231a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<binormal(/ end=/)/ contains=@stataFuncGroup 232a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<chi2(/ end=/)/ contains=@stataFuncGroup 233a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<chi2tail(/ end=/)/ contains=@stataFuncGroup 234a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dgammapda(/ end=/)/ contains=@stataFuncGroup 235a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dgammapdada(/ end=/)/ contains=@stataFuncGroup 236a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dgammapdadx(/ end=/)/ contains=@stataFuncGroup 237a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dgammapdx(/ end=/)/ contains=@stataFuncGroup 238a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dgammapdxdx(/ end=/)/ contains=@stataFuncGroup 239a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<F(/ end=/)/ contains=@stataFuncGroup 240a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<Fden(/ end=/)/ contains=@stataFuncGroup 241a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<Ftail(/ end=/)/ contains=@stataFuncGroup 242a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<gammaden(/ end=/)/ contains=@stataFuncGroup 243a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<gammap(/ end=/)/ contains=@stataFuncGroup 244a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ibeta(/ end=/)/ contains=@stataFuncGroup 245a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invbinomial(/ end=/)/ contains=@stataFuncGroup 246a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invchi2(/ end=/)/ contains=@stataFuncGroup 247a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invchi2tail(/ end=/)/ contains=@stataFuncGroup 248a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invF(/ end=/)/ contains=@stataFuncGroup 249a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invFtail(/ end=/)/ contains=@stataFuncGroup 250a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invgammap(/ end=/)/ contains=@stataFuncGroup 251a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invibeta(/ end=/)/ contains=@stataFuncGroup 252a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invnchi2(/ end=/)/ contains=@stataFuncGroup 253a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invFtail(/ end=/)/ contains=@stataFuncGroup 254a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invibeta(/ end=/)/ contains=@stataFuncGroup 255a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invnorm(/ end=/)/ contains=@stataFuncGroup 256a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invnormal(/ end=/)/ contains=@stataFuncGroup 257a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invttail(/ end=/)/ contains=@stataFuncGroup 258a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lnnormal(/ end=/)/ contains=@stataFuncGroup 259a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lnnormalden(/ end=/)/ contains=@stataFuncGroup 260a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nbetaden(/ end=/)/ contains=@stataFuncGroup 261a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nchi2(/ end=/)/ contains=@stataFuncGroup 262a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nFden(/ end=/)/ contains=@stataFuncGroup 263a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nFtail(/ end=/)/ contains=@stataFuncGroup 264a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nibeta(/ end=/)/ contains=@stataFuncGroup 265a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<norm(/ end=/)/ contains=@stataFuncGroup 266a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<normal(/ end=/)/ contains=@stataFuncGroup 267a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<normalden(/ end=/)/ contains=@stataFuncGroup 268a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<normden(/ end=/)/ contains=@stataFuncGroup 269a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<npnchi2(/ end=/)/ contains=@stataFuncGroup 270a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<tden(/ end=/)/ contains=@stataFuncGroup 271a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ttail(/ end=/)/ contains=@stataFuncGroup 272c6249bb2SBram Moolenaar" Random numbers 273a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<uniform(/ end=/)/ contains=@stataFuncGroup 274c6249bb2SBram Moolenaar" String 275a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<abbrev(/ end=/)/ contains=@stataFuncGroup 276a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<hchar(/ end=/)/ contains=@stataFuncGroup 277a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<indexnot(/ end=/)/ contains=@stataFuncGroup 278a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<itrim(/ end=/)/ contains=@stataFuncGroup 279a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<length(/ end=/)/ contains=@stataFuncGroup 280a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<lower(/ end=/)/ contains=@stataFuncGroup 281a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ltrim(/ end=/)/ contains=@stataFuncGroup 282a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<plural(/ end=/)/ contains=@stataFuncGroup 283a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<proper(/ end=/)/ contains=@stataFuncGroup 284a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<real(/ end=/)/ contains=@stataFuncGroup 285a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<regexm(/ end=/)/ contains=@stataFuncGroup 286a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<regexr(/ end=/)/ contains=@stataFuncGroup 287a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<regexs(/ end=/)/ contains=@stataFuncGroup 288a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<reverse(/ end=/)/ contains=@stataFuncGroup 289a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<rtrim(/ end=/)/ contains=@stataFuncGroup 290a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<string(/ end=/)/ contains=@stataFuncGroup 291a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<strlen(/ end=/)/ contains=@stataFuncGroup 292a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<strmatch(/ end=/)/ contains=@stataFuncGroup 293a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<strpos(/ end=/)/ contains=@stataFuncGroup 294a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<subinstr(/ end=/)/ contains=@stataFuncGroup 295a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<subinword(/ end=/)/ contains=@stataFuncGroup 296a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<substr(/ end=/)/ contains=@stataFuncGroup 297a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<trim(/ end=/)/ contains=@stataFuncGroup 298a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<upper(/ end=/)/ contains=@stataFuncGroup 299a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<word(/ end=/)/ contains=@stataFuncGroup 300a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<wordcount(/ end=/)/ contains=@stataFuncGroup 301c6249bb2SBram Moolenaar" Programming 302a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<autocode(/ end=/)/ contains=@stataFuncGroup 303a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<byteorder(/ end=/)/ contains=@stataFuncGroup 304a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<c(/ end=/)/ contains=@stataFuncGroup 305a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<_caller(/ end=/)/ contains=@stataFuncGroup 306a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<chop(/ end=/)/ contains=@stataFuncGroup 307a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<clip(/ end=/)/ contains=@stataFuncGroup 308a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<cond(/ end=/)/ contains=@stataFuncGroup 309a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<e(/ end=/)/ contains=@stataFuncGroup 310a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<epsdouble(/ end=/)/ contains=@stataFuncGroup 311a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<epsfloat(/ end=/)/ contains=@stataFuncGroup 312a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<float(/ end=/)/ contains=@stataFuncGroup 313a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<has_eprop(/ end=/)/ contains=@stataFuncGroup 314a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<has_eprop(/ end=/)/ contains=@stataFuncGroup 315a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<inlist(/ end=/)/ contains=@stataFuncGroup 316a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<inrange(/ end=/)/ contains=@stataFuncGroup 317a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<irecode(/ end=/)/ contains=@stataFuncGroup 318a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<matrix(/ end=/)/ contains=@stataFuncGroup 319a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<maxbyte(/ end=/)/ contains=@stataFuncGroup 320a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<maxdouble(/ end=/)/ contains=@stataFuncGroup 321a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<maxfloat(/ end=/)/ contains=@stataFuncGroup 322a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<maxint(/ end=/)/ contains=@stataFuncGroup 323a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<maxlong(/ end=/)/ contains=@stataFuncGroup 324a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mi(/ end=/)/ contains=@stataFuncGroup 325a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<minbyte(/ end=/)/ contains=@stataFuncGroup 326a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mindouble(/ end=/)/ contains=@stataFuncGroup 327a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<minfloat(/ end=/)/ contains=@stataFuncGroup 328a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<minint(/ end=/)/ contains=@stataFuncGroup 329a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<minlong(/ end=/)/ contains=@stataFuncGroup 330a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<missing(/ end=/)/ contains=@stataFuncGroup 331a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<r(/ end=/)/ contains=@stataFuncGroup 332a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<recode(/ end=/)/ contains=@stataFuncGroup 333a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<replay(/ end=/)/ contains=@stataFuncGroup 334a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<return(/ end=/)/ contains=@stataFuncGroup 335a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<s(/ end=/)/ contains=@stataFuncGroup 336a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<scalar(/ end=/)/ contains=@stataFuncGroup 337c6249bb2SBram Moolenaar" Date 338a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<d(/ end=/)/ contains=@stataFuncGroup 339a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<date(/ end=/)/ contains=@stataFuncGroup 340a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<day(/ end=/)/ contains=@stataFuncGroup 341a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dow(/ end=/)/ contains=@stataFuncGroup 342a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<doy(/ end=/)/ contains=@stataFuncGroup 343a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<halfyear(/ end=/)/ contains=@stataFuncGroup 344a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mdy(/ end=/)/ contains=@stataFuncGroup 345a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<month(/ end=/)/ contains=@stataFuncGroup 346a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<quarter(/ end=/)/ contains=@stataFuncGroup 347a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<week(/ end=/)/ contains=@stataFuncGroup 348a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<year(/ end=/)/ contains=@stataFuncGroup 349c6249bb2SBram Moolenaar" Time-series 350a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<daily(/ end=/)/ contains=@stataFuncGroup 351a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<halfyearly(/ end=/)/ contains=@stataFuncGroup 352a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<monthly(/ end=/)/ contains=@stataFuncGroup 353a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<quarterly(/ end=/)/ contains=@stataFuncGroup 354a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<weekly(/ end=/)/ contains=@stataFuncGroup 355a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<yearly(/ end=/)/ contains=@stataFuncGroup 356c6249bb2SBram Moolenaar" 357a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<yh(/ end=/)/ contains=@stataFuncGroup 358a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<ym(/ end=/)/ contains=@stataFuncGroup 359a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<yq(/ end=/)/ contains=@stataFuncGroup 360a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<yw(/ end=/)/ contains=@stataFuncGroup 361c6249bb2SBram Moolenaar" 362a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<d(/ end=/)/ contains=@stataFuncGroup 363a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<h(/ end=/)/ contains=@stataFuncGroup 364a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<m(/ end=/)/ contains=@stataFuncGroup 365a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<q(/ end=/)/ contains=@stataFuncGroup 366a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<w(/ end=/)/ contains=@stataFuncGroup 367a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<y(/ end=/)/ contains=@stataFuncGroup 368c6249bb2SBram Moolenaar" 369a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofd(/ end=/)/ contains=@stataFuncGroup 370a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofh(/ end=/)/ contains=@stataFuncGroup 371a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofm(/ end=/)/ contains=@stataFuncGroup 372a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofq(/ end=/)/ contains=@stataFuncGroup 373a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofw(/ end=/)/ contains=@stataFuncGroup 374a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<dofy(/ end=/)/ contains=@stataFuncGroup 375a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<hofd(/ end=/)/ contains=@stataFuncGroup 376a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mofd(/ end=/)/ contains=@stataFuncGroup 377a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<qofd(/ end=/)/ contains=@stataFuncGroup 378a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<wofd(/ end=/)/ contains=@stataFuncGroup 379a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<yofd(/ end=/)/ contains=@stataFuncGroup 380c6249bb2SBram Moolenaar" 381a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<tin(/ end=/)/ contains=@stataFuncGroup 382a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<twithin(/ end=/)/ contains=@stataFuncGroup 383c6249bb2SBram Moolenaar" Matrix 384a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<colnumb(/ end=/)/ contains=@stataFuncGroup 385a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<colsof(/ end=/)/ contains=@stataFuncGroup 386a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<det(/ end=/)/ contains=@stataFuncGroup 387a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<diag0cnt(/ end=/)/ contains=@stataFuncGroup 388a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<el(/ end=/)/ contains=@stataFuncGroup 389a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<issymmetric(/ end=/)/ contains=@stataFuncGroup 390a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<matmissing(/ end=/)/ contains=@stataFuncGroup 391a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<mreldif(/ end=/)/ contains=@stataFuncGroup 392a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<rownumb(/ end=/)/ contains=@stataFuncGroup 393a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<rowsof(/ end=/)/ contains=@stataFuncGroup 394a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<trace(/ end=/)/ contains=@stataFuncGroup 395c6249bb2SBram Moolenaar" 396a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<cholsky(/ end=/)/ contains=@stataFuncGroup 397a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<corr(/ end=/)/ contains=@stataFuncGroup 398a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<diag(/ end=/)/ contains=@stataFuncGroup 399a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<get(/ end=/)/ contains=@stataFuncGroup 400a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<hadamard(/ end=/)/ contains=@stataFuncGroup 401a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<I(/ end=/)/ contains=@stataFuncGroup 402a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<inv(/ end=/)/ contains=@stataFuncGroup 403a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<invsym(/ end=/)/ contains=@stataFuncGroup 404a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<J(/ end=/)/ contains=@stataFuncGroup 405a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<matuniform(/ end=/)/ contains=@stataFuncGroup 406a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<nullmat(/ end=/)/ contains=@stataFuncGroup 407a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<sweep(/ end=/)/ contains=@stataFuncGroup 408a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<vec(/ end=/)/ contains=@stataFuncGroup 409a93fa7eeSBram Moolenaarsyn region stataFunc matchgroup=Function start=/\<vecdiag(/ end=/)/ contains=@stataFuncGroup 410c6249bb2SBram Moolenaar 411c6249bb2SBram Moolenaar" Errors to catch 412c6249bb2SBram Moolenaar" taken from $VIMRUNTIME/syntax/c.vim 413c6249bb2SBram Moolenaar" catch errors caused by wrong parenthesis, braces and brackets 414c6249bb2SBram Moolenaarsyn region stataParen transparent start=/(/ end=/)/ contains=ALLBUT,@stataParenGroup,stataErrInBracket,stataErrInBrace 415c6249bb2SBram Moolenaarsyn region stataBracket transparent start=/\[/ end=/]/ contains=ALLBUT,@stataParenGroup,stataErrInParen,stataErrInBrace 416c6249bb2SBram Moolenaarsyn region stataBrace transparent start=/{/ end=/}/ contains=ALLBUT,@stataParenGroup,stataErrInParen,stataErrInBracket 417c6249bb2SBram Moolenaarsyn match stataParenError /[\])}]/ 418c6249bb2SBram Moolenaarsyn match stataBracketError /]/ 419c6249bb2SBram Moolenaarsyn match stataBraceError /}/ 420f193fffdSBram Moolenaarsyn match stataErrInParen contained /[\]}]/ 421f193fffdSBram Moolenaarsyn match stataErrInBracket contained /[)}]/ 422c6249bb2SBram Moolenaarsyn match stataErrInBrace contained /[)\]]/ 423c6249bb2SBram Moolenaar 424c6249bb2SBram Moolenaar" assign highlight groups 425c6249bb2SBram Moolenaarhi def link stataBraceError stataError 426c6249bb2SBram Moolenaarhi def link stataBracketError stataError 427c6249bb2SBram Moolenaarhi def link stataErrInBrace stataError 428c6249bb2SBram Moolenaarhi def link stataErrInBracket stataError 429c6249bb2SBram Moolenaarhi def link stataErrInParen stataError 430c6249bb2SBram Moolenaarhi def link stataEString stataString 431c6249bb2SBram Moolenaarhi def link stataFormat stataSpecial 432c6249bb2SBram Moolenaarhi def link stataGlobal stataMacro 433c6249bb2SBram Moolenaarhi def link stataLocal stataMacro 434c6249bb2SBram Moolenaarhi def link stataParenError stataError 435c6249bb2SBram Moolenaarhi def link stataSlashComment stataComment 436c6249bb2SBram Moolenaarhi def link stataStarComment stataComment 437c6249bb2SBram Moolenaar 438c6249bb2SBram Moolenaarhi def link stataCommand Define 439c6249bb2SBram Moolenaarhi def link stataComment Comment 440c6249bb2SBram Moolenaarhi def link stataConditional Conditional 441c6249bb2SBram Moolenaarhi def link stataError Error 442c6249bb2SBram Moolenaarhi def link stataFunc None 443c6249bb2SBram Moolenaarhi def link stataMacro Define 444c6249bb2SBram Moolenaarhi def link stataRepeat Repeat 445c6249bb2SBram Moolenaarhi def link stataSpecial SpecialChar 446c6249bb2SBram Moolenaarhi def link stataString String 447c6249bb2SBram Moolenaar 448c6249bb2SBram Moolenaarlet b:current_syntax = "stata" 449c6249bb2SBram Moolenaar 450c6249bb2SBram Moolenaar" vim: ts=8 451