Skip to main content
Module

x/ddc_vim/deps.ts>fn.setloclist

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

Create or replace or add to the location list for window {nr}. {nr} can be the window number or the |window-ID|. When {nr} is zero the current window is used. For a location list window, the displayed location list is modified. For an invalid window number {nr}, -1 is returned. Otherwise, same as |setqflist()|. Also see |location-list|. If the optional {what} dictionary argument is supplied, then only the items listed in {what} are set. Refer to |setqflist()| for the list of supported keys in {what}. Can also be used as a |method|, the base is passed as the second argument: GetLoclist()->setloclist(winnr)

Parameters

denops: Denops
nr: unknown
list: unknown
optional
action: unknown
optional
what: unknown

Returns

Promise<unknown>