Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.matchdelete

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

Deletes a match with ID {id} previously defined by matchadd() or one of the :match commands. Returns 0 if successful, otherwise -1. See example for matchadd(). All matches can be deleted in one operation by clearmatches(). 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:

GetMatch()->matchdelete()

Parameters

denops: Denops
id: unknown
optional
win: unknown

Returns

Promise<number>