Re: vim indent file question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yohann Desquerre wrote:

hi all,


I 'd to configure vim to work well with python, i find a indent-file in /usr/share/vim/vim6.2/indent but i don't how to make it work...

I would like to have the specific syntactic colouring and indentention
for python



From inside vim, try ":set syntax" and see what it says.
When I open any *.py file it automatically sets to "syntax=python".
If it's not setting the syntax mode appropriately, try ":set syntax=python" explicitly.


You may also need to do ":syntax on".
See ":help syntax" from within vim for more detailed instructions.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux