I broke up with neovim....vim is my best friend now
This commit is contained in:
16
dot_vim/plugged/vim-lsp-settings/installer/install-zls.cmd
Normal file
16
dot_vim/plugged/vim-lsp-settings/installer/install-zls.cmd
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
git clone --recurse-submodules --depth=1 https://github.com/zigtools/zls .
|
||||
zig build
|
||||
move zig-out\bin\zls.exe
|
||||
rd /Q /S zig-cache zig-out src tests
|
||||
|
||||
for /f "usebackq tokens=1 delims==" %%f in (`where zig`) do (
|
||||
set "f=%%~dpf"
|
||||
set "f=!f:\=/!"
|
||||
echo {"zig_lib_path":"!f!lib/zig","enable_snippets":true,"warn_style":true,"enable_semantic_tokens":true} > zls.json
|
||||
goto break
|
||||
)
|
||||
:break
|
||||
Reference in New Issue
Block a user