stevearc / dressing.nvim

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

fix(select/telescope): check for nil selection #4

Closed williamboman closed 2 years ago

williamboman commented 2 years ago

Hello, thanks for this great plugin! I've been running into some nil access errors when not selecting anything from the telescope menu (for example, when searching for an entry that doesn't exist so that it clears the results, and then press enter). Figured that doing a simple check would make sense here

stevearc commented 2 years ago

Awesome, thanks!