Add reason support, closes #266

This commit is contained in:
Adam Stankiewicz
2019-03-04 10:09:33 +01:00
parent ec5884b1d0
commit 0cd0b7f894
7 changed files with 510 additions and 1 deletions

17
syntax/merlin.vim Normal file
View File

@@ -0,0 +1,17 @@
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'reason') != -1
finish
endif
" Vim syntax file for editing merlin project files
if exists("b:current_syntax")
finish
endif
syn keyword merlinKeyword S B SUFFIX PKG REC EXT PRJ FLG CMI CMT
syn match merlinComment "\v#.*$"
hi link merlinKeyword Keyword
hi link merlinComment Comment
let b:current_syntax = "merlin"