diff options
| author | erw7 <erw7.github@gmail.com> | 2020-07-06 02:32:21 +0900 |
|---|---|---|
| committer | erw7 <erw7.github@gmail.com> | 2020-07-06 02:35:06 +0900 |
| commit | 2ed101841142a3ac98fd3f5ef0d0dad73ddc0862 (patch) | |
| tree | a5afba5e30487d8e2df37a439c99ff391c2ab2fa /lua | |
| parent | Add extension to solargraph command name on Windows (diff) | |
| download | nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar.gz nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar.bz2 nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar.lz nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar.xz nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.tar.zst nvim-lspconfig-2ed101841142a3ac98fd3f5ef0d0dad73ddc0862.zip | |
Add extension to vimls command name on Windows
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim_lsp/vimls.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/nvim_lsp/vimls.lua b/lua/nvim_lsp/vimls.lua index 88839699..9f715289 100644 --- a/lua/nvim_lsp/vimls.lua +++ b/lua/nvim_lsp/vimls.lua @@ -3,6 +3,9 @@ local util = require "nvim_lsp/util" local server_name = "vimls" local bin_name = "vim-language-server" +if vim.fn.has('win32') == 1 then + bin_name = bin_name..".cmd" +end local installer = util.npm_installer { server_name = server_name, |
