diff options
author | Thomas Faingnaert <thomas.faingnaert@hotmail.com> | 2019-12-28 22:49:08 +0100 |
---|---|---|
committer | Thomas Faingnaert <thomas.faingnaert@hotmail.com> | 2019-12-28 22:49:08 +0100 |
commit | 7a3d9a2be23dca9aeee503c20be79395174ec46a (patch) | |
tree | 23922b007cb20025389668539cacfca10fe90633 /installer | |
parent | d88dafc773e15c0e827f1877c62eed00526671a4 (diff) | |
download | vim-lsp-settings-7a3d9a2be23dca9aeee503c20be79395174ec46a.tar.gz vim-lsp-settings-7a3d9a2be23dca9aeee503c20be79395174ec46a.tar.bz2 vim-lsp-settings-7a3d9a2be23dca9aeee503c20be79395174ec46a.zip |
Add installer for clangd (Windows)
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-clangd.cmd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/installer/install-clangd.cmd b/installer/install-clangd.cmd new file mode 100644 index 0000000..bab1730 --- /dev/null +++ b/installer/install-clangd.cmd @@ -0,0 +1,18 @@ +@echo off + +setlocal + +cd /d %~dp0 + +set installer_dir=%cd% +set server_dir=..\servers\clangd +if exist %server_dir% rd /Q /S "%server_dir%" +md "%server_dir%" +cd /d "%server_dir%" + +echo Downloading clang and LLVM... +curl -L -o LLVM-9.0.0-win64.exe "http://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe" +echo Running setup... +echo Make sure to add clangd to your PATH +LLVM-9.0.0-win64.exe +del LLVM-9.0.0-win64.exe |