I need to know how to reindent the code with syntastic.
I have tried using:
:call Retab() ## it is showing it's invalid
:call GetPythonIndent(v:lnum)
I need a plugin support.Plz don't provide code for .vimrc.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityI need to know how to reindent the code with syntastic.
I have tried using:
:call Retab() ## it is showing it's invalid
:call GetPythonIndent(v:lnum)
I need a plugin support.Plz don't provide code for .vimrc.
You should be able to use vims built in auto-indentation with the command (from normal mode type the following):
gg=G
You may also like to ensure you have set the necessary settings in your .vimrc
so your indentation is how you want it (eg shiftwidth
tabstop
expandtab
etc)