1
1
Fork 0

vimrc: Fix compatibility with vim < 7.3

This commit is contained in:
Jonathan Schleifer 2024-02-07 22:30:38 +00:00
parent 2c5bc25b3e
commit 7bd5059a38

View file

@ -18,7 +18,9 @@ else
source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/vimrc_example.vim
endif endif
set backup set backup
if v:version >= 703
set undofile set undofile
end
set hlsearch set hlsearch
set t_Co=256 set t_Co=256
@ -27,7 +29,9 @@ let g:inkpot_black_background=1
colorscheme inkpot colorscheme inkpot
set cinoptions=+4,(4,u4,w4 set cinoptions=+4,(4,u4,w4
if v:version >= 703
set colorcolumn=81 set colorcolumn=81
end
highlight ColorColumn ctermbg=235 highlight ColorColumn ctermbg=235
let c_space_errors=1 let c_space_errors=1
set ignorecase set ignorecase