1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-25 20:47:45 +01:00

nvim: added col for nim and made output colorless

This commit is contained in:
TiynGER 2020-12-17 01:03:02 +01:00
parent 9856b356e3
commit 507a8effc4
2 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ autocmd VimLeave *.c !cclear
autocmd BufEnter,FileType c set colorcolumn=80
autocmd BufEnter,FileType java set colorcolumn=100
autocmd BufEnter,FileType markdown set colorcolumn=80
autocmd BufEnter,FileType nim set colorcolumn=80
autocmd BufEnter,FileType python set colorcolumn=80
" colorscheme

View File

@ -32,7 +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" ;;
*\.nim) nim c -r -d:noColors "$file" ;;
*\.py) python "$file" ;;
*\.go) go run "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;