Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
model.vim46 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	Model3" Maintainer:	The Vim Project <https://github.com/vim/vim>4" Last Change:	2023 Aug 105" Former Maintainer:	Bram Moolenaar <Bram@vim.org>6 7" very basic things only (based on the vgrindefs file).8" If you use this language, please improve it, and send patches!9 10" Quit when a (custom) syntax file was already loaded11if exists("b:current_syntax")12  finish13endif14 15" A bunch of keywords16syn keyword modelKeyword abs and array boolean by case cdnl char copied dispose17syn keyword modelKeyword div do dynamic else elsif end entry external FALSE false18syn keyword modelKeyword fi file for formal fortran global if iff ift in integer include19syn keyword modelKeyword inline is lbnd max min mod new NIL nil noresult not notin od of20syn keyword modelKeyword or procedure public read readln readonly record recursive rem rep21syn keyword modelKeyword repeat res result return set space string subscript such then TRUE22syn keyword modelKeyword true type ubnd union until varies while width23 24" Special keywords25syn keyword modelBlock beginproc endproc26 27" Comments28syn region modelComment start="\$" end="\$" end="$"29 30" Strings31syn region modelString start=+"+ end=+"+32 33" Character constant (is this right?)34syn match modelString "'."35 36" Define the default highlighting.37" Only used when an item doesn't have highlighting yet38hi def link modelKeyword	Statement39hi def link modelBlock		PreProc40hi def link modelComment	Comment41hi def link modelString		String42 43let b:current_syntax = "model"44 45" vim: ts=8 sw=246 
codekingpro/portable-devtools · Team Ai