mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-22 12:14:21 +01:00
17 lines
392 B
Batchfile
17 lines
392 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
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...
|
|
|
|
REM Run setup as regular user to avoid a UAC popup
|
|
set __COMPAT_LAYER=RUNASINVOKER
|
|
md tmp
|
|
LLVM-9.0.0-win64.exe /S /D=%cd%\tmp
|
|
copy tmp\bin\clangd.exe clangd.exe
|
|
del LLVM-9.0.0-win64.exe
|
|
rd /Q /S %cd%\tmp
|
|
.\clangd.exe --version
|