mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: keep user provided values of mapleader and maplocalleader
If the user provides a value, keep it, otherwise set to <space> and \ repectively. Fixes: 2668
This commit is contained in:
parent
c0ad2209b6
commit
4d73429014
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
-- This file is automatically loaded by plugins.core
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = "\\"
|
||||
vim.g.mapleader = vim.g.mapleader or " "
|
||||
vim.g.maplocalleader = vim.g.maplocalleader or "\\"
|
||||
|
||||
-- Enable LazyVim auto format
|
||||
vim.g.autoformat = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue