Skip to main content
Module

x/denops_std/option/mod.ts>smartcase

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

Override the 'ignorecase' option if the search pattern contains upper case characters. Only used when the search pattern is typed and 'ignorecase' option is on. Used for the commands "/", "?", "n", "N", ":g" and ":s". Not used for "", "#", "gd", tag search, etc. After "" and "#" you can make 'smartcase' used by doing a "/" command, recalling the search pattern from history and hitting . NOTE: This option is reset when 'compatible' is set.

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<boolean>; setGlobal(denops: Denops, value: boolean): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }