Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>nvim_win_set_option

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_win_set_option
import { nvim_win_set_option } from "https://deno.land/x/denops_std@v6.3.0/function/nvim/mod.ts";

Sets a window option value. Passing nil as value deletes the option (only works if there's a global fallback)

Parameters:

  • {window} Window handle, or 0 for current window
  • {name} Option name
  • {value} Option value

Parameters

denops: Denops
window: unknown
name: unknown
value: unknown

Returns

Promise<unknown>