diff options
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/bin/gmake.cmd | 22 | ||||
| -rw-r--r-- | windows/bin/nvim-update.cmd | 24 |
2 files changed, 23 insertions, 23 deletions
diff --git a/windows/bin/gmake.cmd b/windows/bin/gmake.cmd index 89f3a29..1c45ce5 100644 --- a/windows/bin/gmake.cmd +++ b/windows/bin/gmake.cmd | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | @echo off | 1 | @echo off |
| 2 | rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua) | 2 | rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua) |
| 3 | rem unter Windows funktioniert, ohne die bestehende Config anzupassen. | 3 | rem unter Windows funktioniert, ohne die bestehende Config anzupassen. |
| 4 | rem Reicht alle Argumente an das im PATH gefundene "make" weiter. | 4 | rem Reicht alle Argumente an das im PATH gefundene "make" weiter. |
| 5 | rem | 5 | rem |
| 6 | rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH | 6 | rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH |
| 7 | rem hinzufuegen, z.B. ueber: | 7 | rem hinzufuegen, z.B. ueber: |
| 8 | rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin" | 8 | rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin" |
| 9 | 9 | ||
| 10 | make %* | 10 | make %* |
| 11 | exit /b %ERRORLEVEL% | 11 | exit /b %ERRORLEVEL% |
diff --git a/windows/bin/nvim-update.cmd b/windows/bin/nvim-update.cmd index bf9aff8..7521e7e 100644 --- a/windows/bin/nvim-update.cmd +++ b/windows/bin/nvim-update.cmd | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH | 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. | 4 | rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser. |
| 5 | 5 | ||
| 6 | where /q cl.exe | 6 | where /q cl.exe |
| 7 | if errorlevel 1 ( | 7 | if errorlevel 1 ( |
| 8 | echo [nvim-update] cl.exe nicht gefunden - Neovim aus einer "Developer PowerShell for VS" starten. 1>&2 | 8 | echo [nvim-update] cl.exe nicht gefunden - Neovim aus einer "Developer PowerShell for VS" starten. 1>&2 |
| 9 | exit /b 1 | 9 | exit /b 1 |
| 10 | ) | 10 | ) |
| 11 | 11 | ||
| 12 | 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" |
