summaryrefslogtreecommitdiffstats
path: root/syntax/merlin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/merlin.vim')
-rw-r--r--syntax/merlin.vim17
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"
+