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