On 2010-04-04, fain182 wrote:
> Hello,
> i don't know how to indent my latex code..
> if i go to the first line with gg, and indent all with =G, the rules
> for indentation are wrong..(for example, indent if at the end of line
> there is a "\\" or a ",")
> 
> Vim-latexsuite includes latex indentation rules? How can i set them in
> my .vimrc?

Yes, the vim-latex-suite does include indentation rules.  They
should be in this file:  ~/.vim/indent/tex.vim.

They are enabled in your .vimrc the same as any other filetype
dependent indentation rules, with a command like this:
    
    filetype plugin indent on

See

    :help 30.3
    :help filetype-indent-on

HTH,
Gary


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to