Skip to content

Commit 61202ec

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 404104c + c2f5054 commit 61202ec

71 files changed

Lines changed: 3168 additions & 2116 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/compiler/ocaml.vim

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
" Vim Compiler File
2-
" Compiler: ocaml
3-
" Maintainer: See ftplugin/ocaml.vim (?)
4-
" Last Change: June 2013 by Marc Weber
2+
" Compiler: ocaml
3+
" Maintainer: Markus Mottl <[email protected]>
4+
" URL: https://github.com/rgrinberg/vim-ocaml
5+
" Last Change:
6+
" 2017 Nov 26 - Improved error format (Markus Mottl)
7+
" 2013 Aug 27 - Added a new OCaml error format (Markus Mottl)
8+
" 2013 Jun 30 - Initial version (Marc Weber)
59
"
610
" Marc Weber's comments:
711
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
@@ -17,7 +21,6 @@
1721
"
1822
" So having it here makes people opt-in
1923

20-
2124
if exists("current_compiler")
2225
finish
2326
endif
@@ -28,6 +31,7 @@ set cpo&vim
2831

2932
CompilerSet errorformat =
3033
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
34+
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d\ %.%#,
3135
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,
3236
\%+EReference\ to\ unbound\ regexp\ name\ %m,
3337
\%Eocamlyacc:\ e\ -\ line\ %l\ of\ \"%f\"\\,\ %m,
@@ -38,6 +42,12 @@ CompilerSet errorformat =
3842
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
3943
\%D%*\\a:\ Entering\ directory\ `%f',
4044
\%X%*\\a:\ Leaving\ directory\ `%f',
45+
\%D%*\\a[%*\\d]:\ Entering\ directory\ '%f',
46+
\%X%*\\a[%*\\d]:\ Leaving\ directory\ '%f',
47+
\%D%*\\a:\ Entering\ directory\ '%f',
48+
\%X%*\\a:\ Leaving\ directory\ '%f',
49+
\%DEntering\ directory\ '%f',
50+
\%XLeaving\ directory\ '%f',
4151
\%DMaking\ %*\\a\ in\ %f
4252

4353
let &cpo = s:cpo_save

runtime/doc/autocmd.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.1. Last change: 2019 Jun 22
1+
*autocmd.txt* For Vim version 8.1. Last change: 2019 Jun 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -407,8 +407,8 @@ BufFilePost After changing the name of the current buffer
407407
BufFilePre Before changing the name of the current buffer
408408
with the ":file" or ":saveas" command.
409409
*BufHidden*
410-
BufHidden Just after a buffer has become hidden. That
411-
is, when there are no longer windows that show
410+
BufHidden Just before a buffer becomes hidden. That is,
411+
when there are no longer windows that show
412412
the buffer, but the buffer is not unloaded or
413413
deleted. Not used for ":qa" or ":q" when
414414
exiting Vim.

0 commit comments

Comments
 (0)