fixed type and set default value to 1 to avoid testing error

This commit is contained in:
LittleQ
2013-09-15 00:20:20 +08:00
parent 1c24594c70
commit ec405fa3b2
3 changed files with 3 additions and 3 deletions

View File

@@ -399,7 +399,7 @@ def new_buffer(path, options=''):
# options are what you can to edit the edit options
if vim_eval('g:jedi#use_tabs_not_buffers') == '1':
_tabnew(path, options)
elif vim_eval('g:jedi#use_splits_not_buffers'):
elif not vim_eval('g:jedi#use_splits_not_buffers') == '1':
user_split_option = vim_eval('g:jedi#use_splits_not_buffers')
split_options = [
'top',