Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add vertical bar at 80 chars instead of Error highlighting

  • Loading branch information...
commit e02ef05674929c5569fb1a232a2f2099d8139a09 1 parent cca9d37
@norm2782 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .vimrc
View
2  .vimrc
@@ -7,6 +7,7 @@ syntax on
set nocompatible " Use vim, no vi defaults
set number " Show line numbers
set ruler " Show line and column number
+set colorcolumn=80 " Show vertical line at 80 characters
syntax enable " Turn on syntax highlighting allowing local overrides
set encoding=utf-8 " Set default encoding to UTF-8
" ------------------------------------------------------------------
@@ -139,7 +140,6 @@ au FileType make setlocal noexpandtab
" ------------------------------------------------------------------
" Highlighting for long lines and certain keywords
" ------------------------------------------------------------------
-au BufWinEnter * let w:m1=matchadd('ErrorMsg', '\%<111v.\%>80v', -1)
au BufWinEnter * let w:m2=matchadd('ErrorMsg', 'TODO', -1)
au BufWinEnter * let w:m3=matchadd('ErrorMsg', 'FIXME', -1)
au BufWinEnter * let w:m4=matchadd('ErrorMsg', 'undefined', -1)
Please sign in to comment.
Something went wrong with that request. Please try again.