Skip to main content
Module

x/denops_std/function/mod.ts>remote_foreground

📚 Standard module for denops.vim
Go to Latest
function remote_foreground
import { remote_foreground } from "https://deno.land/x/denops_std@v3.6.0/function/mod.ts";

Move the Vim server with the name {server} to the foreground. 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, Athena, Motif and GTK GUI versions and the Win32 console version}

Parameters

denops: Denops
server: unknown

Returns

Promise<unknown>