Fix flake8 errors
This commit is contained in:
parent
83ecbe1aed
commit
912cd047b1
1 changed files with 2 additions and 1 deletions
|
|
@ -53,6 +53,7 @@ def SetUpHiddenBuffer( buf, name ):
|
||||||
buf.options[ 'bufhidden' ] = 'hide'
|
buf.options[ 'bufhidden' ] = 'hide'
|
||||||
buf.name = name
|
buf.name = name
|
||||||
|
|
||||||
|
|
||||||
def SetUpPromptBuffer( buf, name, prompt, callback, hidden=False ):
|
def SetUpPromptBuffer( buf, name, prompt, callback, hidden=False ):
|
||||||
# This feature is _super_ new, so only enable when available
|
# This feature is _super_ new, so only enable when available
|
||||||
if not int( vim.eval( "exists( '*prompt_setprompt' )" ) ):
|
if not int( vim.eval( "exists( '*prompt_setprompt' )" ) ):
|
||||||
|
|
@ -176,7 +177,7 @@ def InputSave():
|
||||||
vim.eval( 'inputsave()' )
|
vim.eval( 'inputsave()' )
|
||||||
try:
|
try:
|
||||||
yield
|
yield
|
||||||
except:
|
except Exception:
|
||||||
vim.eval( 'inputrestore()' )
|
vim.eval( 'inputrestore()' )
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue