📄 model.vim
字号:
" Vim syntax file" Language: Model" Maintainer: Bram Moolenaar <Bram@vim.org>" Last Change: 2001 Apr 25" very basic things only (based on the vgrindefs file)." If you use this language, please improve it, and send me the patches!" For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600 syntax clearelseif exists("b:current_syntax") finishendif" A bunch of keywordssyn keyword modelKeyword abs and array boolean by case cdnl char copied disposesyn keyword modelKeyword div do dynamic else elsif end entry external FALSE falsesyn keyword modelKeyword fi file for formal fortran global if iff ift in integer includesyn keyword modelKeyword inline is lbnd max min mod new NIL nil noresult not notin od ofsyn keyword modelKeyword or procedure public read readln readonly record recursive rem repsyn keyword modelKeyword repeat res result return set space string subscript such then TRUEsyn keyword modelKeyword true type ubnd union until varies while width" Special keywordssyn keyword modelBlock beginproc endproc" Commentssyn region modelComment start="\$" end="\$" end="$"" Stringssyn region modelString start=+"+ end=+"+" Character constant (is this right?)syn match modelString "'."" Define the default highlighting." For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_model_syntax_inits") if version < 508 let did_model_syntax_inits = 1 command -nargs=+ HiLink hi link <args> else command -nargs=+ HiLink hi def link <args> endif HiLink modelKeyword Statement HiLink modelBlock PreProc HiLink modelComment Comment HiLink modelString String delcommand HiLinkendiflet b:current_syntax = "model"" vim: ts=8 sw=2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -