diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 10:09:33 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 10:09:33 +0100 |
commit | 0cd0b7f8942a42bf8cb24affb18ac5bedae5aa48 (patch) | |
tree | 06a44efce0966a50c2fdf55ba43e629ecbf2b800 /syntax/merlin.vim | |
parent | ec5884b1d0e58dd4727530a4f7e8a30c21b713c1 (diff) | |
download | vim-polyglot-0cd0b7f8942a42bf8cb24affb18ac5bedae5aa48.tar.gz vim-polyglot-0cd0b7f8942a42bf8cb24affb18ac5bedae5aa48.zip |
Add reason support, closes #266
Diffstat (limited to 'syntax/merlin.vim')
-rw-r--r-- | syntax/merlin.vim | 17 |
1 files changed, 17 insertions, 0 deletions
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" + |