Skip to content

Commit

Permalink
For some reason window-local settings are being lost when switching b…
Browse files Browse the repository at this point in the history
…uffers
  • Loading branch information
puremourning committed Oct 9, 2022
1 parent cdbec21 commit e81013d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python3/vimspector/disassembly.py
Expand Up @@ -61,7 +61,6 @@ def __init__( self, window, connection, api_prefix ):
':call vimspector#Reset()<CR>' )

signs.DefineProgramCounterSigns()
utils.SetUpUIWindow( self._window )


def ConnectionUp( self, connection ):
Expand Down Expand Up @@ -155,6 +154,8 @@ def _DrawInstructions( self ):

with utils.LetCurrentWindow( self._window ):
utils.OpenFileInCurrentWindow( buf_name )
utils.SetUpUIWindow( self._window )
self._window.options[ 'signcolumn' ] = 'auto'

self._DisplayPC( buf_name )

Expand Down

0 comments on commit e81013d

Please sign in to comment.