From 0cd0b7f8942a42bf8cb24affb18ac5bedae5aa48 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 10:09:33 +0100 Subject: Add reason support, closes #266 --- syntax/merlin.vim | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 syntax/merlin.vim (limited to 'syntax/merlin.vim') diff --git a/syntax/merlin.vim b/syntax/merlin.vim new file mode 100644 index 00000000..9c2d2ee4 --- /dev/null +++ b/syntax/merlin.vim @@ -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" + -- cgit v1.2.3