mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
vim-patch:8.1.1418: win_execute() is not implemented yet
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
868b7b6712
This commit is contained in:
@@ -2498,6 +2498,8 @@ visualmode([expr]) String last visual mode used
|
||||
wait({timeout}, {condition}[, {interval}])
|
||||
Number Wait until {condition} is satisfied
|
||||
wildmenumode() Number whether 'wildmenu' mode is active
|
||||
win_execute({id}, {command} [, {silent}])
|
||||
String execute {command} in window {id}
|
||||
win_findbuf({bufnr}) List find windows containing {bufnr}
|
||||
win_getid([{win} [, {tab}]]) Number get |window-ID| for {win} in {tab}
|
||||
win_gettype([{nr}]) String type of window {nr}
|
||||
@@ -3616,6 +3618,8 @@ execute({command} [, {silent}]) *execute()*
|
||||
Note: If nested, an outer execute() will not observe output of
|
||||
the inner calls.
|
||||
Note: Text attributes (highlights) are not captured.
|
||||
To execute a command in another window than the current one
|
||||
use `win_execute()`.
|
||||
|
||||
exepath({expr}) *exepath()*
|
||||
Returns the full path of {expr} if it is an executable and
|
||||
@@ -9477,6 +9481,12 @@ wildmenumode() *wildmenumode()*
|
||||
<
|
||||
(Note, this needs the 'wildcharm' option set appropriately).
|
||||
|
||||
win_execute({id}, {command} [, {silent}]) *win_execute()*
|
||||
Like `execute()` but in the context of window {id}.
|
||||
The window will temporarily be made the current window,
|
||||
without triggering autocommands.
|
||||
Example: >
|
||||
call win_execute(winid, 'syntax enable')
|
||||
|
||||
win_findbuf({bufnr}) *win_findbuf()*
|
||||
Returns a list with |window-ID|s for windows that contain
|
||||
|
||||
Reference in New Issue
Block a user