mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -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>
57 lines
1.8 KiB
VimL
57 lines
1.8 KiB
VimL
" Vim syntax file
|
|
" Language: ProMeLa
|
|
" Maintainer: Maurizio Tranchero <maurizio.tranchero@polito.it> - <maurizio.tranchero@gmail.com>
|
|
" First Release: Mon Oct 16 08:49:46 CEST 2006
|
|
" Last Change: Thu Aug 7 21:22:48 CEST 2008
|
|
" Version: 0.5
|
|
|
|
" For version 5.x: Clear all syntax items
|
|
" For version 6.x: Quit when a syntax file was already loaded
|
|
if version < 600
|
|
syntax clear
|
|
elseif exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
" case is significant
|
|
" syn case ignore
|
|
" ProMeLa Keywords
|
|
syn keyword promelaStatement proctype if else while chan do od fi break goto unless
|
|
syn keyword promelaStatement active assert label atomic
|
|
syn keyword promelaFunctions skip timeout run
|
|
syn keyword promelaTodo contained TODO
|
|
" ProMeLa Types
|
|
syn keyword promelaType bit bool byte short int
|
|
" Operators and special characters
|
|
syn match promelaOperator "!"
|
|
syn match promelaOperator "?"
|
|
syn match promelaOperator "->"
|
|
syn match promelaOperator "="
|
|
syn match promelaOperator "+"
|
|
syn match promelaOperator "*"
|
|
syn match promelaOperator "/"
|
|
syn match promelaOperator "-"
|
|
syn match promelaOperator "<"
|
|
syn match promelaOperator ">"
|
|
syn match promelaOperator "<="
|
|
syn match promelaOperator ">="
|
|
syn match promelaSpecial "\["
|
|
syn match promelaSpecial "\]"
|
|
syn match promelaSpecial ";"
|
|
syn match promelaSpecial "::"
|
|
" ProMeLa Comments
|
|
syn region promelaComment start="/\*" end="\*/" contains=promelaTodo,@Spell
|
|
syn match promelaComment "//.*" contains=promelaTodo,@Spell
|
|
|
|
" Class Linking
|
|
hi def link promelaStatement Statement
|
|
hi def link promelaType Type
|
|
hi def link promelaComment Comment
|
|
hi def link promelaOperator Type
|
|
hi def link promelaSpecial Special
|
|
hi def link promelaFunctions Special
|
|
hi def link promelaString String
|
|
hi def link promelaTodo Todo
|
|
|
|
let b:current_syntax = "promela"
|