Surround vim crypto settings in if(supprots) block
This commit is contained in:
parent
43f7f7c150
commit
ed62755cfe
1 changed files with 6 additions and 4 deletions
10
vimrc
10
vimrc
|
@ -24,10 +24,12 @@ if &t_Co > 2 || has("gui_running")
|
||||||
set hlsearch "Highlight search results
|
set hlsearch "Highlight search results
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if v:version >= 800
|
if has("cryptv")
|
||||||
set cm=blowfish2
|
if v:version >= 800
|
||||||
elseif v:version >= 703
|
set cm=blowfish2
|
||||||
set cm=blowfish
|
elseif v:version >= 703
|
||||||
|
set cm=blowfish
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
set colorcolumn=+1
|
set colorcolumn=+1
|
||||||
|
|
Loading…
Reference in a new issue