feat(loader): warn when maplocalleader is changed after init

This commit is contained in:
TheSast 2024-02-13 23:34:52 +00:00
commit d3d13bc4e0
No known key found for this signature in database
4 changed files with 13 additions and 0 deletions

View file

@ -67,6 +67,7 @@ require("lazy").setup(plugins, opts)
```lua
-- Example using a list of specs with the default options
vim.g.mapleader = " " -- Make sure to set `mapleader` before lazy so your mappings are correct
vim.g.maplocalleader = "_" -- Same for `maplocalleader`
require("lazy").setup({
"folke/which-key.nvim",