Enabling vim file type plugin

Posted by person on Super User See other posts from Super User or by person
Published on 2010-06-15T22:29:21Z Indexed on 2010/06/15 22:33 UTC
Read the original article Hit count: 293

Filed under:
|
|
|
|

In my .vimrc file I have this line..

filetype plugin indent on

and then in ~/.vim/ftplugin/py.vimrc (I've also tried saving it as a .vim file) I've copied and pasted a vimrc file for python standards and have enabled all of the suggested settings in it (uncommented them). When I create and open a test.py file and do something like a tab, it goes 8 spaces instead of 4.

Not sure what's going wrong.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu