Vim, project specific settings

Hey, I've just been looking for a good plugin that can help me to configure some VIM variables per project.

For example I want set shiftwidth=2 for my JavaScript project and set shiftwidth=4 for PHP one.

Turned out no plugin needed.

Just put this to your .vimrc:

silent! so .vimlocal

Now if you put .vimlocal file to your project root, it will be sourced and "executed".

Proxy Information
Original URL
gemini://g.codelearn.me/2018-11-20-vim-project-specific-settings.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
544.877806 milliseconds
Gemini-to-HTML Time
0.168616 milliseconds

This content has been proxied by September (3851b).