From 2538b10b9980692954dc624a11eb62b88206319e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Prag=C5=82owski?= Date: Thu, 12 Feb 2015 17:21:14 +0100 Subject: [PATCH] Added 80 col as warning zone and >120 as danger zone --- my_configs.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index 0c0529e8..38860945 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -11,8 +11,8 @@ set cursorline set number " line numbers set nocompatible " choose no compatibility with legacy vi set nowrap " don't wrap lines -set colorcolumn=80 -highlight ColorColumn ctermbg=DarkGray +let &colorcolumn="80,".join(range(120,999),",") +highlight ColorColumn ctermbg=235 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => trailing whitespaces (show & remove on save)