nvim-telescope / telescope-dap.nvim

Integration for nvim-dap with telescope.nvim
MIT License
323 stars 23 forks source link

is it possible to customize the themes? #16

Open norseghost opened 2 years ago

norseghost commented 2 years ago

I want to set a few settings differently; such as using the cursor theme for the 'continue' list. I am unable to figure out how though.

wassimk commented 1 year ago

Would you like to customize the Telescope theme? If so, I want the same.

Here it is with telescope-dap.nvim. The height of the frame grows to full screen.

image

And here it is without—a centered dropdown that's much smaller.

image

wassimk commented 1 year ago

I tried to send opts in like this. I was able to get it to look like so. But, still not the more straightforward drop-down I showed above.

require'telescope'.extensions.dap.configurations({ layout_strategy = 'center', layout_config = { height = 20, width = 100, prompt_position = 'top', preview_cutoff = 5000 } })

image

mjendruk commented 1 year ago

Hello @wassimk, it looks like you are using dressing.nvim which already replaces the default internal dap ui by overwriting vim.ui.select. My solution to get the straight forward drop-down would be to disable overwriting the internal ui: https://github.com/nvim-telescope/telescope-dap.nvim/pull/19