folke / neoconf.nvim

💼 Neovim plugin to manage global and project-local settings
Apache License 2.0
715 stars 29 forks source link

bug: State not cleared when changing cwd/workspaces #61

Open Ajaymamtora opened 3 months ago

Ajaymamtora commented 3 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

0.10 stable

Operating system/version

Macos 14.5

Describe the bug

When I change sessions with nvim persisted, the previous project config is left in memory.

I don't know how to remove the values from the previous project after switching projects

image

Steps To Reproduce

Go to project a with config file, switch to project B with no local config file, project A state retained

Expected Behavior

Api to clear state / recheck project local config

Repro

No response

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Ajaymamtora commented 2 months ago

It also looks upwards outside the CWD and loads local config from the parent directory of the cwd.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Ajaymamtora commented 1 month ago

-

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Ajaymamtora commented 1 week ago

.