1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

vim: added nim support

This commit is contained in:
TiynGER
2020-12-08 00:18:58 +01:00
parent 911d34f0be
commit 7bed363ef2
3 changed files with 5 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ case "$file" in
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*config.h) sudo make install ;;
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
*\.nim) nim c "$file" && "$base" ;;
*\.py) python "$file" ;;
*\.go) go run "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;