Skip to content

Add option to disable overwriting the dap internal ui#19

Open
mjendruk wants to merge 6 commits into
nvim-telescope:masterfrom
mjendruk:master
Open

Add option to disable overwriting the dap internal ui#19
mjendruk wants to merge 6 commits into
nvim-telescope:masterfrom
mjendruk:master

Conversation

@mjendruk

@mjendruk mjendruk commented Aug 1, 2023

Copy link
Copy Markdown

Hello,

thank you for writing and maintaining this very useful plugin. I would like to make one improvement.

I'm using dressing.nvim that already overwrites vim.ui.select so I don’t need this plugin to overwrite the internal ui once more.

This PR adds an option to disable overwriting the internal ui. I also updated the README.md to reflect this.

Comment thread lua/telescope/_extensions/dap.lua Outdated
Comment thread lua/telescope/_extensions/dap.lua Outdated
setup = function(ext_config)
vim.cmd [[ highlight default link NvimDapSubtleFrame Comment ]]

if not vim.F.if_nil(ext_config.overwrite_pick_one, true) then

@mjendruk mjendruk Apr 26, 2024

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this to true by default so that the old behavior is kept if no value is provided for overwrite_pick_one

@mjendruk

Copy link
Copy Markdown
Author

Hi @Conni2461, I made the changes you requested. Would you take a second look?

@mjendruk mjendruk requested a review from Conni2461 May 14, 2024 12:53
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.

2 participants