From dd90bae2b0a3e4eaf6afcf77b69e72719a90a5b1 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 31 Jan 2026 09:16:31 +0100 Subject: [PATCH] nvim: added go shells to compiler script --- .local/bin/etc/nvim/compiler | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.local/bin/etc/nvim/compiler b/.local/bin/etc/nvim/compiler index d779785..e70ca77 100755 --- a/.local/bin/etc/nvim/compiler +++ b/.local/bin/etc/nvim/compiler @@ -27,6 +27,7 @@ textype() { \ case "$file" in *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; + *\.bash) bash "$file" ;; *\.go) go run "$file" ;; *\.lua) lua "$file" ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; @@ -49,5 +50,6 @@ case "$file" in *\.smt2) z3 "$file" ;; *\.tex) textype "$file" ;; *\.vpr) $vipercmd "$file" ;; + *\.zsh) zsh "$file" ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac