Set some window options to their deafults

This commit is contained in:
Ben Jackson 2020-02-16 22:30:55 +00:00
commit 926029e343
3 changed files with 11 additions and 0 deletions

View file

@ -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 ):