IVD/ivd.vim

35 lines
762 B
VimL
Raw Normal View History

"This file is part of the IVD project and is licensed under LGPL-3.0-only
spec bleeding;
" Custom syntax for the IVD language.
" IVD: Interactive Visual Design
if exists("b:current_syntax")
finish
endif
echom "IVD: Interactive Visual Design"
syntax keyword ivdLabel state nextgroup=ivdCustomState skipwhite
syntax keyword ivdKeyword exclusive
syntax keyword ivdAttributes position position-within margin layout
syntax keyword ivdAttributes width height greyout
syntax match ivdCustomState "\i\+" contained
highlight link ivdCustomState Identifier
syntax match ivdComment "\v//.*$"
highlight link ivdComment Comment
highlight link ivdLabel Label
highlight link ivdKeyword Keyword
highlight link ivdAttributes Type
let b:current_syntax = "ivd"