Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dapui): add option to auto open specific layout #3728

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

opalmay
Copy link
Contributor

@opalmay opalmay commented Jan 14, 2023

We provide an option to auto open dapui with lvim.builtin.dap.ui.auto_open. by default, dapui.open() opens all defined layouts. in LunarVim we have two predefined ones.
This commit adds config option lvim.builtin.dap.ui.auto_open_layout_index which lets you specify a layout index, which is then passed to the function (see :h dapui.open())
For example lvim.builtin.dap.ui.auto_open_layout = 2 with the default configuration will only open the second layout as defined in the config, with the repl and console elements.

@opalmay opalmay marked this pull request as draft January 14, 2023 15:27
@opalmay opalmay force-pushed the feat-dapui-layout branch 2 times, most recently from a4279e3 to 8293351 Compare January 17, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant