Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.secure

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

When on, ":autocmd", shell and write commands are not allowed in ".vimrc" and ".exrc" in the current directory and map commands are displayed. Switch it off only if you know that you will not run into problems, or when the 'exrc' option is off. On Unix this option is only used if the ".vimrc" or ".exrc" is not owned by you. This can be dangerous if the systems allows users to do a "chown". You better set 'secure' at the end of your ~/.vimrc then. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default off)

type

GlobalOption<boolean>