aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/installers/vimls.lua
blob: 3e6786b74291ca157c927c71d25d76b8901ade79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
local installer = require('nvim-lsp-installer.installer')

local root_dir = installer.get_server_root_path('vim')

return installer.Installer:new {
    name = "vimls",
    root_dir = root_dir,
    install_cmd = [[npm install vim-language-server@latest]],
    default_options = {
        cmd = { root_dir .. "/node_modules/.bin/vim-language-server", "--stdio" },
    }
}