From df7a259d628530c41667375a5f5cf93add148608 Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 9 Aug 2023 02:39:18 +0200 Subject: [PATCH] nvim: compiler updated for lua --- .local/bin/tools/nvim/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/tools/nvim/compiler b/.local/bin/tools/nvim/compiler index eb03039..4a7c1c3 100755 --- a/.local/bin/tools/nvim/compiler +++ b/.local/bin/tools/nvim/compiler @@ -39,7 +39,7 @@ case "$file" in *\.nim) nim c -r -d:noColors "$file" ;; *\.py) python "$file" ;; *\.go) go run "$file" ;; + *\.lua) lua "$file" ;; *\.sent) setsid sent "$file" 2>/dev/null & ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac -