vim-patch:469bdbde1e8e

Minor runtime file updates.
469bdbde1e
This commit is contained in:
Jan Edmund Lazo
2021-04-24 20:59:08 -04:00
parent f19c896e9d
commit 62adc04f08
3 changed files with 6 additions and 3 deletions

View File

@@ -215,6 +215,8 @@ BufAdd Just after creating a new buffer which is
added to the buffer list, or adding a buffer added to the buffer list, or adding a buffer
to the buffer list, a buffer in the buffer to the buffer list, a buffer in the buffer
list was renamed. list was renamed.
Not triggered for the initial buffers created
during startup.
Before |BufEnter|. Before |BufEnter|.
NOTE: Current buffer "%" may be different from NOTE: Current buffer "%" may be different from
the buffer being created "<afile>". the buffer being created "<afile>".

View File

@@ -518,7 +518,8 @@ accordingly. Vim proceeds in this order:
displayed yet). displayed yet).
When switching screens, it happens now. Redrawing starts. When switching screens, it happens now. Redrawing starts.
If the "-q" flag was given to Vim, the first error is jumped to. If the "-q" flag was given to Vim, the first error is jumped to.
Buffers for all windows will be loaded. Buffers for all windows will be loaded, without triggering |BufAdd|
autocommands.
14. Execute startup commands 14. Execute startup commands
If a "-t" flag was given to Vim, the tag is jumped to. If a "-t" flag was given to Vim, the tag is jumped to.

View File

@@ -2,7 +2,7 @@
" "
" Author: Bram Moolenaar " Author: Bram Moolenaar
" Copyright: Vim license applies, see ":help license" " Copyright: Vim license applies, see ":help license"
" Last Update: 2018 Jun 3 " Last Change: 2019 Dec 11
" "
" WORK IN PROGRESS - Only the basics work " WORK IN PROGRESS - Only the basics work
" Note: On MS-Windows you need a recent version of gdb. The one included with " Note: On MS-Windows you need a recent version of gdb. The one included with
@@ -726,7 +726,7 @@ func s:GotoProgram()
if has('win32') if has('win32')
if executable('powershell') if executable('powershell')
call system(printf('powershell -Command "add-type -AssemblyName microsoft.VisualBasic;[Microsoft.VisualBasic.Interaction]::AppActivate(%d);"', s:pid)) call system(printf('powershell -Command "add-type -AssemblyName microsoft.VisualBasic;[Microsoft.VisualBasic.Interaction]::AppActivate(%d);"', s:pid))
endif endif
else else
call win_gotoid(s:ptywin) call win_gotoid(s:ptywin)
endif endif