Skip to main content
Module

x/ddc_vim/deps.ts>fn.remote_foreground

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.remote_foreground
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { remote_foreground } = fn;

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>