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:
parent
9856b356e3
commit
507a8effc4
@ -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
|
||||
|
@ -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 & ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user