From a5e8bbeb9d79d905a193e95a39acd29bc37e6c66 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 16 Sep 2026 08:47:13 +0200 Subject: Updated dotfiles --- neovim/.config/nvim/lua/config/options.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'neovim/.config/nvim/lua/config/options.lua') diff --git a/neovim/.config/nvim/lua/config/options.lua b/neovim/.config/nvim/lua/config/options.lua index be614e1..1282850 100644 --- a/neovim/.config/nvim/lua/config/options.lua +++ b/neovim/.config/nvim/lua/config/options.lua @@ -34,3 +34,9 @@ opt.hlsearch = true opt.incsearch = true opt.ignorecase = true opt.smartcase = true + +-- Project-local config (.nvim.lua) is handled by a custom autocmd in +-- autocmds.lua instead of the core 'exrc' option: 'exrc' only checks the +-- literal cwd at startup, once, so it misses a project's .nvim.lua whenever +-- Neovim didn't start with cwd exactly there. Leave 'exrc' off to avoid +-- double-sourcing the same file via both mechanisms. -- cgit v1.3