mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 16:37:45 +02:00
nvim: added R to compiler
This commit is contained in:
parent
61c4f7e252
commit
b6931c106b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user