Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denops_std/option/vim/mod.ts>pythonhome

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

Specifies the name of the Python 2.x home directory. When 'pythonhome' and the PYTHONHOME environment variable are not set, PYTHON_HOME, which was specified at compile time, will be used for the Python 2.x home directory. Environment variables are expanded :set_env. This option cannot be set from a modeline or in the sandbox, for security reasons.

(default "")

only available when compiled with the +python/dyn feature

type

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