Skip to main content
Module

x/ddc_vim/deps.ts>fn.strchr

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.strchr
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { strchr } = 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>