nvim: added R to compiler

master
tiyn 11 months ago
parent 61c4f7e252
commit b6931c106b

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

Loading…
Cancel
Save