import { remote_foreground } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";
Move the Vim server with the name {server} to the foreground.
The {server} argument is a string, also see {server}
.
This works like:
remote_expr({server}, "foreground()")
Except that on Win32 systems the client does the work, to work
around the problem that the OS doesn't always allow the server
to bring itself to the foreground.
Note: This does not restore the window if it was minimized,
like foreground() does.
This function is not available in the sandbox
.
Can also be used as a method
:
ServerName()->remote_foreground()
only in the Win32, Motif and GTK GUI versions and the Win32 console version
Parameters
denops: Denops