making sure that float window is not modifiable inside nvim

This commit is contained in:
dsych 2020-12-23 23:32:37 -05:00 committed by Ben Jackson
commit 04a5e889f9
2 changed files with 2 additions and 0 deletions

View file

@ -272,6 +272,7 @@ class VariablesView( object ):
def _DrawEval(self):
with utils.RestoreCursorPosition():
with utils.ModifiableScratchBuffer( self._variable_eval_view.buf ):
utils.ClearBuffer( self._variable_eval_view.buf )
icon = '+' if self._variable_eval.IsExpandable() and not self._variable_eval.IsExpanded() else '-'