Set some window options to their deafults
This commit is contained in:
parent
c8dcc47b1c
commit
926029e343
3 changed files with 11 additions and 0 deletions
|
|
@ -126,6 +126,13 @@ def SetUpPromptBuffer( buf, name, prompt, callback, hidden=False ):
|
|||
Escape( callback ) ) )
|
||||
|
||||
|
||||
def SetUpUIWindow( win ):
|
||||
win.options[ 'wrap' ] = False
|
||||
win.options[ 'number' ] = False
|
||||
win.options[ 'signcolumn' ] = 'no'
|
||||
win.options[ 'spell' ] = False
|
||||
win.options[ 'list' ] = False
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def ModifiableScratchBuffer( buf ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue