ervandew / supertab

Perform all your vim insert mode completions with Tab
3.18k stars 214 forks source link

Only unlet b:supertab_close_preview if it exists #183

Open benburrill opened 7 years ago

benburrill commented 7 years ago

This change fixes a problem where Vim 7.3 would exit with a non-zero code when g:SuperTabClosePreviewOnPopupClose is 1. I see no reason why b:supertab_close_preview should be unlet silently if it has already been determined that it doesn't exist. In addition, I removed the silent! part since it is no longer needed.