Surround vim crypto settings in if(supprots) block

This commit is contained in:
Talia 2020-05-11 11:16:21 +02:00
parent 43f7f7c150
commit ed62755cfe
1 changed files with 6 additions and 4 deletions

2
vimrc
View File

@ -24,11 +24,13 @@ if &t_Co > 2 || has("gui_running")
set hlsearch "Highlight search results
endif
if has("cryptv")
if v:version >= 800
set cm=blowfish2
elseif v:version >= 703
set cm=blowfish
end
end
set colorcolumn=+1
hi ColorColumn ctermbg=magenta