import { op } from "https://deno.land/x/ddc_vim@v4.0.2/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)