<%# %>

<%= step %>. Install Vim plugin

Install this plugin with your favorite Vim packaging system:

Choose a Vim package manager above to get started!

Install as a Vim package

This option requires Vim 8.0 or newer.

  1. Download the quick-lint-js Vim plugin.
  2. Add packloadall to your <% if (os === "windows") { %> %USERPROFILE%\_vimrc file (or %USERPROFILE%\vimfiles\vimrc) <% } else { %> ~/.vimrc file <% } %> if not already present.
  3. Create the directory <% if (os === "windows") { %> %USERPROFILE%\vimfiles\pack\external\start\. <% } else { %> ~/.vim/pack/external/start/. <% } %>
  4. Copy the extracted quick-lint-js.vim directory into the <% if (os === "windows") { %> %USERPROFILE%\vimfiles\pack\external\start\ <% } else { %> ~/.vim/pack/external/start/ <% } %> directory.
  5. Restart Vim.

Install with Pathogen

This option requires Pathogen.

  1. Download the quick-lint-js Vim plugin.
  2. Copy the extracted quick-lint-js.vim directory into the <% if (os === "windows") { %> %USERPROFILE%\vimfiles\bundle\ <% } else { %> ~/.vim/bundle/ <% } %> directory.
  3. Restart Vim.

Install with Vim-Plug

This option requires Vim-Plug.

  1. Add the following line to your vimrc file between call plug#begin(...) and call plug#end():
    Plug 'quick-lint/quick-lint-js', {'rtp': 'plugin/vim/quick-lint-js.vim', 'tag': '<%= qljsVersionInfo.version %>'}
  2. Restart Vim.
  3. In Vim, run :PlugInstall.

Install with Vundle

This option requires Vundle.

Using Vundle is not recommended. Vundle doesn't support version pinning. We recommend using a different Vim plugin manager.

  1. Add the following line to your vimrc file between call vundle#begin(...) and call vundle#end():
    Plugin 'quick-lint/quick-lint-js', {'rtp': 'plugin/vim/quick-lint-js.vim'}
  2. Restart Vim.
  3. In Vim, run :PluginInstall.
<%- await include("../common-manual-tabs.ejs.html") %> <%# %>