config.nvim
config.nvim copied to clipboard
Question about your telescope config
https://github.com/tjdevries/config.nvim/blob/006889bbfb6ff655e2d8e33b26453fa4d614b99b/lua/custom/telescope.lua#L21-L23
Hey Teej! I've been enjoying your Advent of Nvim video series. While I'm not new to Neovim, it has been great getting the guided tour through the configuration and has helped me refine my own.
That said, I've been looking at other people's configs on GitHub abd I noticed a few things about your Telescope config that I was curious about:
- You've opted for no
configdirective in the spec. I'm guessing you don't think it necessary because your telescope is not lazy loaded? I think I've misunderstood how lazy loading works until recently. As per the lazy.nvim docs:
Plugins will be lazy-loaded when one of the following is true:
The plugin only exists as a dependency in your spec It has an event, cmd, ft or keys key config.defaults.lazy == true
- Your use of
pcallto load the extensions. Is this needed because Telescope is not lazy loaded?