Documentation for the UI customisation
This commit is contained in:
parent
80afb153b9
commit
3726766694
4 changed files with 180 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue