1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-26 04:57:45 +01:00

nvim: added R to compiler

This commit is contained in:
tiyn 2023-10-24 22:36:15 +02:00
parent 61c4f7e252
commit b6931c106b

View File

@ -41,5 +41,6 @@ case "$file" in
*\.go) go run "$file" ;;
*\.lua) lua "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*\.r|*\.R) Rscript "$file" ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
esac