diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 02:32:31 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 02:32:31 +0900 |
commit | 0ef51e93ea3d7a3444c853edc3ed3dcf5692beb8 (patch) | |
tree | 39a5d66a7c4d7865e3fb9b22a9d308d94a95970b /installer/install-vim-language-server.cmd | |
parent | a8c6ac553532166b9515309976172a73ff148b2f (diff) | |
download | vim-lsp-settings-0ef51e93ea3d7a3444c853edc3ed3dcf5692beb8.tar.gz vim-lsp-settings-0ef51e93ea3d7a3444c853edc3ed3dcf5692beb8.tar.bz2 vim-lsp-settings-0ef51e93ea3d7a3444c853edc3ed3dcf5692beb8.zip |
Install to local directory
Diffstat (limited to 'installer/install-vim-language-server.cmd')
-rwxr-xr-x | installer/install-vim-language-server.cmd | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/installer/install-vim-language-server.cmd b/installer/install-vim-language-server.cmd index efac06d..5c525d3 100755 --- a/installer/install-vim-language-server.cmd +++ b/installer/install-vim-language-server.cmd @@ -1,3 +1,16 @@ @echo off -yarn global add vim-language-server +cd %~dp0 +if exist "..\servers\vim-language-server" rd /S /Q "..\servers\vim-language-server" +md "..\servers\vim-language-server" +cd "..\servers\vim-language-server" +git clone https://github.com/iamcco/vim-language-server . +call yarn +call yarn build + +echo @echo off ^ + +node %%~dp0\bin\index.js --stdio ^ + +> vim-language-server.cmd + |