mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
docs: default maplocalleader
This commit is contained in:
parent
d3d13bc4e0
commit
5f5662491c
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +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`
|
||||
vim.g.maplocalleader = "\\" -- Same for `maplocalleader`
|
||||
|
||||
require("lazy").setup({
|
||||
"folke/which-key.nvim",
|
||||
|
@ -538,7 +538,7 @@ Any command can have a **bang** to make the command wait till it finished. For e
|
|||
if you want to sync lazy from the cmdline, you can use:
|
||||
|
||||
```shell
|
||||
$ nvim --headless "+Lazy! sync" +qa
|
||||
nvim --headless "+Lazy! sync" +qa
|
||||
```
|
||||
|
||||
`opts` is a table with the following key-values:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue