Skip to main content
Module

x/ddc_vim/deps.ts>op.magic

Dark deno-powered completion framework for neovim/Vim
Latest
variable op.magic
import { op } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { magic } = op;

Changes the special characters that can be used in search patterns. See pattern. WARNING: Switching this option off most likely breaks plugins! That is because many patterns assume it's on and will fail when it's off. Only switch it off when working with old Vi scripts. In any other situation write patterns that work when 'magic' is on. Include "\M" when you want to /\M. In Vim9 script the value of 'magic' is ignored, patterns behave like it is always set.

(default on)

type

GlobalOption<boolean>