feat(exrc): search in parent directories (#33889)

feat(exrc): search exrc in parent directories

Problem:
`.nvim.lua` is only loaded from current directory, which is not flexible
when working from a subfolder of the project.

Solution:
Also search parent directories for configuration file.
This commit is contained in:
Yochem van Rosmalen
2025-05-11 18:00:51 +02:00
committed by GitHub
parent 2c07428966
commit 23bf4c0531
7 changed files with 72 additions and 12 deletions

View File

@@ -209,6 +209,10 @@ nvim.swapfile:
swapfile is owned by a running Nvim process. Shows |W325| "Ignoring
swapfile…" message.
nvim.find_exrc:
- VimEnter: Extend 'exrc' to also search for project-local configuration files
in all parent directories.
==============================================================================
New Features *nvim-features*