Skip to main content
Module

x/denops_std/function/mod.ts>clearmatches

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

Clears all matches previously defined for the current window by |matchadd()| and the |:match| commands. If {win} is specified, use the window with this number or window ID instead of the current window. Can also be used as a |method|: GetWin()->clearmatches()

Parameters

denops: Denops
optional
win: unknown

Returns

Promise<unknown>