aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 15:26:41 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 15:26:41 +0900
commit6a0c4d1ae92353ac2f4db8e3044879b94d49fcd6 (patch)
tree1d405c2453168c0828ad27e6abafcac5a661d7ba /autoload
parentf97982165f3c846ff55212e8cb742bf5eb93b0ec (diff)
parentc34d3413c31bec1efb8466049194d257a483512f (diff)
downloadvim-lsp-settings-6a0c4d1ae92353ac2f4db8e3044879b94d49fcd6.tar.gz
vim-lsp-settings-6a0c4d1ae92353ac2f4db8e3044879b94d49fcd6.tar.bz2
vim-lsp-settings-6a0c4d1ae92353ac2f4db8e3044879b94d49fcd6.zip
Merge branch 'master' of https://github.com/mattn/vim-lsp-settings
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 4338eb9..82ba5e6 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -277,8 +277,7 @@ function! s:vim_lsp_install_server(ft, command) abort
split new
call termopen(l:entry[1], {'cwd': l:server_install_dir, 'on_exit': function('s:vim_lsp_install_server_post', [l:entry[0]])}) | startinsert
else
- let l:args = has('win32') ? ['cmd', '/c', l:entry[1]] : ['bash', '-c', l:entry[1]]
- let l:bufnr = term_start(l:args, {'cwd': l:server_install_dir})
+ let l:bufnr = term_start(l:entry[1], {'cwd': l:server_install_dir})
let l:job = term_getjob(l:bufnr)
if l:job != v:null
call job_setoptions(l:job, {'exit_cb': function('s:vim_lsp_install_server_post', [l:entry[0]])})