Skip to main content
Module

x/denops_std/option/mod.ts>exrc

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

Enables the reading of .vimrc, .exrc and .gvimrc in the current directory.

Setting this option is a potential security leak. E.g., consider unpacking a package or fetching files from github, a .vimrc in there might be a trojan horse. BETTER NOT SET THIS OPTION! Instead, define an autocommand in your .vimrc to set options for a matching directory.

If you do switch this option on you should also consider setting the 'secure' option (see initialization). Also see .vimrc and gui-init. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default off)