aboutsummaryrefslogtreecommitdiffstats
path: root/neovim/.config/nvim/lua/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'neovim/.config/nvim/lua/config/options.lua')
-rw-r--r--neovim/.config/nvim/lua/config/options.lua6
1 files changed, 6 insertions, 0 deletions
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
34opt.incsearch = true 34opt.incsearch = true
35opt.ignorecase = true 35opt.ignorecase = true
36opt.smartcase = true 36opt.smartcase = true
37
38-- Project-local config (.nvim.lua) is handled by a custom autocmd in
39-- autocmds.lua instead of the core 'exrc' option: 'exrc' only checks the
40-- literal cwd at startup, once, so it misses a project's .nvim.lua whenever
41-- Neovim didn't start with cwd exactly there. Leave 'exrc' off to avoid
42-- double-sourcing the same file via both mechanisms.