mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
a98a6996c2
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
45 lines
1.4 KiB
VimL
45 lines
1.4 KiB
VimL
" Vim syntax file
|
|
" Language: Model
|
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
" Last Change: 2005 Jun 20
|
|
|
|
" very basic things only (based on the vgrindefs file).
|
|
" If you use this language, please improve it, and send me the patches!
|
|
|
|
" Quit when a (custom) syntax file was already loaded
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
" A bunch of keywords
|
|
syn keyword modelKeyword abs and array boolean by case cdnl char copied dispose
|
|
syn keyword modelKeyword div do dynamic else elsif end entry external FALSE false
|
|
syn keyword modelKeyword fi file for formal fortran global if iff ift in integer include
|
|
syn keyword modelKeyword inline is lbnd max min mod new NIL nil noresult not notin od of
|
|
syn keyword modelKeyword or procedure public read readln readonly record recursive rem rep
|
|
syn keyword modelKeyword repeat res result return set space string subscript such then TRUE
|
|
syn keyword modelKeyword true type ubnd union until varies while width
|
|
|
|
" Special keywords
|
|
syn keyword modelBlock beginproc endproc
|
|
|
|
" Comments
|
|
syn region modelComment start="\$" end="\$" end="$"
|
|
|
|
" Strings
|
|
syn region modelString start=+"+ end=+"+
|
|
|
|
" Character constant (is this right?)
|
|
syn match modelString "'."
|
|
|
|
" Define the default highlighting.
|
|
" Only used when an item doesn't have highlighting yet
|
|
hi def link modelKeyword Statement
|
|
hi def link modelBlock PreProc
|
|
hi def link modelComment Comment
|
|
hi def link modelString String
|
|
|
|
let b:current_syntax = "model"
|
|
|
|
" vim: ts=8 sw=2
|