Skip to main content
Module

x/ddc_vim/deps.ts>fn.strstr

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.strstr
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { strstr } = fn;

stridx() works similar to the C function strstr(). When used with a single character it works similar to strchr(). Can also be used as a |method|: GetHaystack()->stridx(needle)

Returns

Promise<unknown>