mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.0.0704: problems with autocommands when opening help
Problem: Problems with autocommands when opening help. Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer is locked. (closes #1806, closes #1804)
This commit is contained in:
@@ -1625,7 +1625,7 @@ EX(CMD_winsize, "winsize", ex_winsize,
|
||||
EXTRA|NEEDARG|TRLBAR,
|
||||
ADDR_LINES),
|
||||
EX(CMD_wincmd, "wincmd", ex_wincmd,
|
||||
NEEDARG|WORD1|RANGE|NOTADR,
|
||||
NEEDARG|WORD1|RANGE|NOTADR|CMDWIN,
|
||||
ADDR_WINDOWS),
|
||||
EX(CMD_windo, "windo", ex_listdo,
|
||||
NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL,
|
||||
|
Reference in New Issue
Block a user