1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-27 21:47:46 +01:00

nvim: compiler updated for lua

This commit is contained in:
tiyn 2023-08-09 02:39:18 +02:00
parent 6b78c80639
commit df7a259d62

View File

@ -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