Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.clearmatches

Dark deno-powered completion framework for neovim/Vim
Very Popular
Go to Latest
function fn.clearmatches
import { fn } from "https://deno.land/x/ddc_vim@v4.0.0/deps.ts";
const { clearmatches } = fn;

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<void>