summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vi/_vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vi/_vimrc b/src/vi/_vimrc
index af86e7e..5b54ea8 100644
--- a/src/vi/_vimrc
+++ b/src/vi/_vimrc
@@ -207,6 +207,10 @@ endif
autocmd FileType html setl sw=2 ts=2
autocmd FileType xml setl sw=2 ts=2
autocmd BufNewFile,BufRead Makefile setl noexpandtab list
+autocmd FileType c setl colorcolumn=101
+autocmd FileType java setl colorcolumn=101
+autocmd FileType lua setl colorcolumn=101
+autocmd FileType js setl colorcolumn=101
autocmd FileType text setl ft=awk
autocmd BufNew,BufRead *.gnuplot setl ft=gnuplot