Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unset setlocal #1726

Open
krem opened this issue May 24, 2024 · 2 comments
Open

unset setlocal #1726

krem opened this issue May 24, 2024 · 2 comments

Comments

@krem
Copy link

krem commented May 24, 2024

Hi, how can I get back to global options set by setlocal? It would be much easier just unset/remove local option than setlocal global one. Thank you!

@joelim-work
Copy link
Collaborator

setlocal was added in #1381 but there's no way to unset it because nobody managed to decide on a syntax for it.

I think unsetting setlocal was deemed to not be useful anyway, since you would normally use setlocal to set the desired settings for a particular directory, and never need to change it dynamically afterwards.

@krem
Copy link
Author

krem commented May 25, 2024

Ok, understand, I've configured LF for changing local sortby temporarily for my use case, but realized that many folders ended up having local option duplicating global one - that's why I thought it's nice to remove "locals" )) anyway thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants