Add neovim job/terminal APIs
This commit is contained in:
parent
18627b9244
commit
29c26996fb
5 changed files with 237 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ def SetUpHiddenBuffer( buf, name ):
|
|||
def SetUpPromptBuffer( buf, name, prompt, callback, hidden=False ):
|
||||
# This feature is _super_ new, so only enable when available
|
||||
if not int( vim.eval( "exists( '*prompt_setprompt' )" ) ):
|
||||
return SetUpScratchBuffer( buf, name )
|
||||
return SetUpHiddenBuffer( buf, name )
|
||||
|
||||
buf.options[ 'buftype' ] = 'prompt'
|
||||
buf.options[ 'swapfile' ] = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue