You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
754 B

@ echo off
set VIMDIR=%~dp0
set PATH=%VIMDIR%\bin;%VIMDIR%\vim90;%PATH%
set HOME=%VIMDIR%user
set PATH=%HOME%\bin;%PATH%
set XDG_CONFIG_HOME=%HOME%\share
set LOCALAPPDATA=%HOME%\share
set TEMP=%HOME%\share\temp
set GTAGSLABEL=new-ctags
set PATH=%VIMDIR%\gtags\bin;%PATH%
set pythondir=%VIMDIR%\python3
set PATH=%pythondir%;%pythondir%\Scripts;%PATH%
:: golang
set GOLANG_DIR=%~dp0..\golang
set GOROOT=%GOLANG_DIR%\go
set GOPATH=%GOLANG_DIR%\gomod
set GOVSVARSPATH=C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat
set GOPROXY=https://mirrors.aliyun.com/goproxy
set gitdir=%VIMDIR%\portablegit
set PATH=%gitdir%\cmd;%GOROOT%\bin;%GOPATH%\bin;%PATH%
%VIMDIR%\vim90\gvim.exe