Skip to main content
Module

x/denops_std/option/mod.ts>infercase

📚 Standard module for denops.vim
Go to Latest
variable infercase
import { infercase } from "https://deno.land/x/denops_std@v6.4.0/option/mod.ts";

When doing keyword completion in insert mode ins-completion, and 'ignorecase' is also on, the case of the match is adjusted depending on the typed text. If the typed text contains a lowercase letter where the match has an upper case letter, the completed part is made lowercase. If the typed text has no lowercase letters and the match has a lowercase letter where the typed text has an uppercase letter, and there is a letter before it, the completed part is made uppercase. With 'noinfercase' the match is used as-is.

(default off)