Installation

Prerequisites

Denops requires Deno to be installed on your system. Please refer to Deno's official manual for installation instructions.

After installing Deno, ensure that the deno command is accessible from your Vim.

:echo execpath("deno")

It should display the path to the deno command. If it prints an empty string, add the path to the deno command to your PATH environment variable.

tip

If you prefer not to modify the PATH environment variable, you can set the executable path to the g:denops#deno variable in your vimrc file like this:

let g:denops#deno = "/path/to/deno"

Installation

Denops itself is a Vim plugin and can be installed using a Vim plugin manager, similar to other Vim plugins.

vim-plug
Plug 'vim-denops/denops.vim'
Jetpack.vim
Jetpack 'vim-denops/denops.vim'
dein.vim
call dein#add('vim-denops/denops.vim')
minpac
call minpac#add('vim-denops/denops.vim')
lazy.nvim
require("lazy").setup({
  "vim-denops/denops.vim",
  -- ...
})

Health Check

Denops provides a health checker to confirm that Denops is installed correctly. You can check the health of Denops by running the :checkhealth command (Neovim) or :CheckHealth (Vim with vim-healthcheck).

==============================================================================
denops: health#denops#check

- Supported Deno version: `1.38.5`
- Detected Deno version: `1.39.4`
- OK Deno version check: passed
- Supported Neovim version: `0.9.4`
- Detected Neovim version: `0.9.5`
- OK Neovim version check: passed
- Denops status: `running`
- OK Denops status check: passed