diff options
| author | Michal Hanus <hanus.michal@divelit.cz> | 2024-03-02 18:49:55 +0100 |
|---|---|---|
| committer | Michal Hanus <hanus.michal@divelit.cz> | 2024-03-02 18:49:55 +0100 |
| commit | aab38f32e0a02e43565a554d0a76ff65636499b8 (patch) | |
| tree | f3f00df05c63228c69a338e80fd0e7d02986e8cf /docs/nvim_setup_windows.ps1 | |
| parent | 99353a355321d68ef4fb3c26291084b23e8f4978 (diff) | |
Diffstat (limited to 'docs/nvim_setup_windows.ps1')
| -rw-r--r-- | docs/nvim_setup_windows.ps1 | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/docs/nvim_setup_windows.ps1 b/docs/nvim_setup_windows.ps1 deleted file mode 100644 index 9148a22..0000000 --- a/docs/nvim_setup_windows.ps1 +++ /dev/null @@ -1,55 +0,0 @@ -# Set policy to avoid errors -Set-ExecutionPolicy RemoteSigned -scope CurrentUser - -# Install scoop -Invoke-WebRequest -UseBasicParsing get.scoop.sh | Invoke-Expression - -# Install node -scoop install nodejs - -# Install ripgrep -scoop install ripgrep - -# Install universal-ctags -scoop bucket add extras -scoop install universal-ctags - -# Install vim-language-server -npm install -g vim-language-server - -# Install bash-language-server -npm install -g bash-language-server - -# Install miniconda3 (for Python) -scoop install miniconda3 - -# Install pynvim -pip install -U pynvim - -# Install python-language-server -pip install 'python-lsp-server[all]' pylsp-mypy python-lsp-isort - -# Install visual c++ redistribution -scoop install vcredist2022 - -# Install 7zip -scoop install 7zip - -# Install lua-language-server -$lua_ls_link = "https://github.com/LuaLS/lua-language-server/releases/download/3.6.11/lua-language-server-3.6.11-win32-x64.zip" -$lua_ls_install_dir = "D:\portable_tools" -$lua_ls_src_path = "$lua_ls_install_dir\lua-language-server.zip" -$lua_ls_dir = "$lua_ls_install_dir\lua-language-server" - -# Download file, ref: https://stackoverflow.com/a/51225744/6064933 -Invoke-WebRequest $lua_ls_link -OutFile "$lua_ls_src_path" - -# Extract the zip file using 7zip, ref: https://stackoverflow.com/a/41933215/6064933 -7z x "$lua_ls_src_path" -o"$lua_ls_dir" - -# Setup PATH env variable, ref: https://stackoverflow.com/q/714877/6064933 -[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$lua_ls_dir\bin", "Machine") - -# Install neovim nightly -scoop bucket add versions -scoop install neovim |
