telescope.nvim
telescope.nvim copied to clipboard
feat(builtin.treesitter) send user message if no symbols found.
trafficstars
Description
- Remove redundant empty check in
builtin.treesitter. - Send user a
INFOmessage if found no symbols, just like how other builtin pickers works.
Type of change
Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
- [x] Manual testing - open a empty file and open ":Telescope treesitter"
- [x] Manual testing - open example file
a.luaand open ":Telescope treesitter" a.lua
var a = {}
Configuration:
- Neovim version (nvim --version): NVIM v0.10.4 Build type: Release LuaJIT 2.1.171348406
- Operating system and version: Debian 12
Checklist:
- [x] My code follows the style guidelines of this project (stylua)
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation (lua annotations)
Just wanted to make the same MR, yeah, that chunk of code has a kind of confusing behaviour.
superseded by #3566