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)