From b77c5f11070ecb2ff343aa18b4ea859e6168f16c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 17 Feb 2022 04:31:35 +0100 Subject: Update --- compiler/ocaml.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'compiler/ocaml.vim') diff --git a/compiler/ocaml.vim b/compiler/ocaml.vim index cc45414a..cad91439 100644 --- a/compiler/ocaml.vim +++ b/compiler/ocaml.vim @@ -7,6 +7,7 @@ endif " Maintainer: Markus Mottl " URL: https://github.com/ocaml/vim-ocaml " Last Change: +" 2021 Nov 03 - Improved error format (Jules Aguillon) " 2020 Mar 28 - Improved error format (Thomas Leonard) " 2017 Nov 26 - Improved error format (Markus Mottl) " 2013 Aug 27 - Added a new OCaml error format (Markus Mottl) @@ -39,10 +40,13 @@ CompilerSet errorformat = \%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:, \%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d\ %.%#, \%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m, + \%EFile\ \"%f\"\\,\ line\ %l:, \%+EReference\ to\ unbound\ regexp\ name\ %m, \%Eocamlyacc:\ e\ -\ line\ %l\ of\ \"%f\"\\,\ %m, \%Wocamlyacc:\ w\ -\ %m, \%-Zmake%.%#, + \%C%*\\d\ \|%.%#, + \%C%p^%#, \%C%m, \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', @@ -54,7 +58,9 @@ CompilerSet errorformat = \%X%*\\a:\ Leaving\ directory\ '%f', \%DEntering\ directory\ '%f', \%XLeaving\ directory\ '%f', - \%DMaking\ %*\\a\ in\ %f + \%DMaking\ %*\\a\ in\ %f, + \%+G%m + let &cpo = s:cpo_save unlet s:cpo_save -- cgit v1.2.3