Skip to content
Snippets Groups Projects
Commit 5c72f781 authored by Boman Romain's avatar Boman Romain
Browse files

fix fabulous compatibility

parent 1259d9c1
No related branches found
No related tags found
No related merge requests found
......@@ -84,10 +84,12 @@ set nowrap " no wrapping of long lines
set noswapfile
set nobackup " because undodir/undofile
set undodir=~/.vim/undodir
set undofile
if !isdirectory(&undodir)
call mkdir(&undodir, "p")
if has('persistent_undo')
set undodir=~/.vim/undodir
set undofile
if !isdirectory(&undodir)
call mkdir(&undodir, "p")
endif
endif
set hlsearch " highlight search terms
......@@ -118,9 +120,10 @@ else
endif
set cursorline " highlight the line of the cursor
set colorcolumn=80 " highlight column #80
if exists("&colorcolumn")
set colorcolumn=80 " highlight column #80
endif
highlight CorlorColumn ctermbg=0 guibg=lightgrey
" highlight text beyond column 80
highlight OverLength ctermbg=71 ctermfg=white guibg=#592929
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment