From 87a26c5bf169bafbee837e2323f24cfb07e35250 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 21 Dec 2021 14:41:23 +0100 Subject: Update --- syntax/ocaml.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'syntax/ocaml.vim') diff --git a/syntax/ocaml.vim b/syntax/ocaml.vim index 14939535..e3e6cfa3 100644 --- a/syntax/ocaml.vim +++ b/syntax/ocaml.vim @@ -172,6 +172,7 @@ syn match ocamlMTDef "=\s*\w\(\w\|'\)*\>"hs=s+1,me=s+1 skipwhite skipempty ne " Quoted strings syn region ocamlString matchgroup=ocamlQuotedStringDelim start="{\z\([a-z_]*\)|" end="|\z1}" contains=@Spell +syn region ocamlString matchgroup=ocamlQuotedStringDelim start="{%[a-z_]\+\(\.[a-z_]\+\)\?\( \z\([a-z_]\+\)\)\?|" end="|\z1}" contains=@Spell syn keyword ocamlKeyword and as assert class syn keyword ocamlKeyword constraint else -- cgit v1.2.3