stevearc / dressing.nvim

Neovim plugin to improve the default vim.ui interfaces
MIT License
1.73k stars 32 forks source link

Compatibility issue with telescope-file-browser #13

Closed AckslD closed 2 years ago

AckslD commented 2 years ago

Using dressing.nvim and telescope-file-browser at the same time seems to not be possible at the moment, see this issue: https://github.com/nvim-telescope/telescope-file-browser.nvim/issues/66

It seems that the issue is that dressing triggers a BufLeave event which closes the telescope buffer. I'm not sure how easy that could be to fix but an alternative could maybe be to have the ability to disable dressing under certain circumstances, eg for telescope buffers.

stevearc commented 2 years ago

Disabled autocmds when opening the modal, so it should work fine now. I don't think there's any use case for those autocmds, but if this breaks anyone's workflow comment here and we'll see what we can do.

AckslD commented 2 years ago

@stevearc awesome :tada:, can confirm it works