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

[vim] Load configuration for the current directory #23

Open
whisperity opened this issue Dec 28, 2019 · 0 comments
Open

[vim] Load configuration for the current directory #23

whisperity opened this issue Dec 28, 2019 · 0 comments

Comments

@whisperity
Copy link
Owner

Either via direnv or preferably find some relevant Vim magic.

Use case: if we are in the LLVM tree, :set shiftwidth=2, otherwise use the one in the normal init.vim.
Maybe we can put a file somewhere in the llvm/ tree (preferably at the top, like .gitignore and .envrc) that Vim can find when starting (walk up the tree from cwd...) and execute as vim commands?

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

No branches or pull requests

1 participant