LazyVim / starter

Starter template for LazyVim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

where to put mapleader

zfogg opened this issue · comments

-- init.vim
vim.g.mapleader = ','
require("config.lazy")

this doesn't actually work.. my mapleader is still <space> after everything loads. i can get it working by putting my mapleader in a plugin/keys.vim file but then i get this message:

You need to set `vim.g.mapleader` **BEFORE** loading lazy

i'm not sure where to put it to make it work without getting that error message every startup

i will just disable flash.nvim until you can tell me how to override it :)

Have you tried the options.lua file? https://github.com/briandipalma/iac/blob/main/dotfiles/nvim/lua/config/options.lua if you cloned this repo you should have one in the same location.

thanks!