You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to apply some global window option configuration for widgets. The main intent is to make it more clear which window I have opened and to have a streamlined UI (I customize other types of windows as well). In particular, I want to put the title of the window into the border.
Possible Solutions
I know I can do this by using the .build mechanism, but then I will need to use this more verbose mechanism for every mapping. And there is already support for passing window options such as the border:
Problem Statement
I want to apply some global window option configuration for widgets. The main intent is to make it more clear which window I have opened and to have a streamlined UI (I customize other types of windows as well). In particular, I want to put the title of the window into the border.
Possible Solutions
I know I can do this by using the
.build
mechanism, but then I will need to use this more verbose mechanism for every mapping. And there is already support for passing window options such as theborder
:nvim-dap/lua/dap/ui.lua
Lines 18 to 19 in 7c1d47c
I propose adding an additional:
Of course, this could possibly be improved e.g. by doing something like (pseudocode):
where
valid_options
was a list of the valid floating window options (see:help nvim_open_win
for the list of options).Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: