aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-rw-r--r--windows/bin/gmake.cmd22
-rw-r--r--windows/bin/nvim-update.cmd24
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
2rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua) 2rem Wrapper, damit opt.makeprg = "gmake" (aus nvim/lua/config/options.lua)
3rem unter Windows funktioniert, ohne die bestehende Config anzupassen. 3rem unter Windows funktioniert, ohne die bestehende Config anzupassen.
4rem Reicht alle Argumente an das im PATH gefundene "make" weiter. 4rem Reicht alle Argumente an das im PATH gefundene "make" weiter.
5rem 5rem
6rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH 6rem Einmalig einrichten: dieses Verzeichnis (windows\bin) zum PATH
7rem hinzufuegen, z.B. ueber: 7rem hinzufuegen, z.B. ueber:
8rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin" 8rem setx PATH "%PATH%;%USERPROFILE%\dotfiles\windows\bin"
9 9
10make %* 10make %*
11exit /b %ERRORLEVEL% 11exit /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
3rem Prüft vor dem Parser-Update, ob ein C-Compiler (cl.exe, MSVC) im PATH 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. 4rem gefunden wird - nvim-treesitter braucht ihn zum Kompilieren der Parser.
5 5
6where /q cl.exe 6where /q cl.exe
7if errorlevel 1 ( 7if 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
12nvim --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"