From bdc80dabce5e46945ca34ccf74861371485ac2f2 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 12 Aug 2026 11:38:42 +0200 Subject: Normalize line endings --- windows/bin/gmake.cmd | 22 +++++++++++----------- windows/bin/nvim-update.cmd | 24 ++++++++++++------------ 2 files changed, 23 insertions(+), 23 deletions(-) (limited to 'windows') 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 @@ -@echo off -rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua) -rem unter Windows funktioniert, ohne die bestehende Config anzupassen. -rem Reicht alle Argumente an das im PATH gefundene "make" weiter. -rem -rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH -rem hinzufuegen, z.B. ueber: -rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin" - -make %* -exit /b %ERRORLEVEL% +@echo off +rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua) +rem unter Windows funktioniert, ohne die bestehende Config anzupassen. +rem Reicht alle Argumente an das im PATH gefundene "make" weiter. +rem +rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH +rem hinzufuegen, z.B. ueber: +rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin" + +make %* +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 @@ -@echo off - -rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH -rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser. - -where /q cl.exe -if errorlevel 1 ( - echo [nvim-update] cl.exe nicht gefunden - Neovim aus einer "Developer PowerShell for VS" starten. 1>&2 - exit /b 1 -) - -nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa" +@echo off + +rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH +rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser. + +where /q cl.exe +if errorlevel 1 ( + echo [nvim-update] cl.exe nicht gefunden - Neovim aus einer "Developer PowerShell for VS" starten. 1>&2 + exit /b 1 +) + +nvim --headless -c "lua require[[lazy]].sync({ wait = true })" -c "UpdateParsers" -c "qa" -- cgit v1.3