Some variables need default value

This commit is contained in:
laxtiz 2015-06-30 04:50:35 +08:00
parent 59cc3ecc79
commit 3601670094

View File

@ -3,6 +3,19 @@ if exists("b:done_vimsnippets")
endif
let b:done_vimsnippets = 1
" Some variables need default value
if !exists("g:snips_author")
let g:snips_author = "yourname"
endif
if !exists("g:snips_email")
let g:snips_email = "yourname@email.com"
endif
if !exists("g:snips_github")
let g:snips_github = "https://github.com/yourname"
endif
" Expanding the path is not needed on Vim 7.4
if &cp || version >= 704
finish