mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-24 18:21:16 +02:00
nvim: added R to compiler
This commit is contained in:
@@ -41,5 +41,6 @@ case "$file" in
|
|||||||
*\.go) go run "$file" ;;
|
*\.go) go run "$file" ;;
|
||||||
*\.lua) lua "$file" ;;
|
*\.lua) lua "$file" ;;
|
||||||
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
||||||
|
*\.r|*\.R) Rscript "$file" ;;
|
||||||
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user