aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-rw-r--r--windows/bin/nvim-update.cmd10
1 files changed, 10 insertions, 0 deletions
diff --git a/windows/bin/nvim-update.cmd b/windows/bin/nvim-update.cmd
index bcf8b65..bf9aff8 100644
--- a/windows/bin/nvim-update.cmd
+++ b/windows/bin/nvim-update.cmd
@@ -1,2 +1,12 @@
1@echo off 1@echo off
2
3rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH
4rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser.
5
6where /q cl.exe
7if errorlevel 1 (
8 echo [nvim-update] cl.exe nicht gefunden - Neovim aus einer "Developer PowerShell for VS" starten. 1>&2
9 exit /b 1
10)
11
2nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa" 12nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa"