For some reason mapleader is set but when I include it in a mapping the mapping ignores it.
I set mapleader in init.lua at first but later tried setting it in the same file as the mapping just before I set the mapping.
echo mapleader
-----
,
Using the default mapping from the telescope docs.
Could you try these changes and see if you get different behavior?
If this doesnβt help, then the proper way to debug this is to start with a clean config that only sets mapleader (like above) and creates a dummy keymap that for example prints hello world:
My idea is to require/source plugin specific settings from the vimplugs.lua, this file installs using packer. Then afterwards at the bottom I require the conf files. The mappings.lua contains a module with methods for settings mappings. The idea is that I require a setup method on it from the main init and any mapping used in a setup block of packer also use a name specific method from mappings module. Still need to implement plug specific methods in mappings.
This is the best I came up with until now, just got sloppy when transitioning.