diff options
| -rw-r--r-- | windows/bin/nvim-update.cmd | 10 |
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 | |||
| 3 | rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH | ||
| 4 | rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser. | ||
| 5 | |||
| 6 | where /q cl.exe | ||
| 7 | if 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 | |||
| 2 | nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa" | 12 | nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa" |
