I've installed telescope.nvim plugin for NeoVim. Now, I would like to put some configuration code related to this plugin in this file:


In my init.lua file, I've loaded the plugin, and I've added this line, intending it to load my custom telescope.lua:


However, this fails silently. I know think the problem is a name conflict with the telescope plugin. If I rename my file to something else, like ~/.config/nvim/lua/tt.lua, and change the line correspondingly, it works as expected:


Is there a way to load the file I intend, without running into naming conflicts? Can I do something like this in my init.lua file?


1 Answer 1


Most configs I've seen handle this by putting a my directory inside the lua directory. This would allow you to do:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.