Documentation for the UI customisation

This commit is contained in:
Ben Jackson 2020-07-18 13:41:22 +01:00
commit 3726766694
4 changed files with 180 additions and 1 deletions

View file

@ -214,6 +214,13 @@ def AnyWindowForBuffer( buf ):
yield
@contextlib.contextmanager
def LetCurrentTabpage( tabpage ):
with RestoreCurrentWindow():
vim.current.tabpage = tabpage
yield
@contextlib.contextmanager
def LetCurrentWindow( window ):
with RestoreCurrentWindow():