-- Leo's gemini proxy

-- Connecting to g.codelearn.me:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

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".


`silent!` is using to supress warnings when there is no .vimlocal file in a directory.

-- Response ended

-- Page fetched on Sun May 12 08:08:12 2024