[Vim-latex-cvs] SF.net SVN: vim-latex:[1042] trunk/vimfiles/doc
Brought to you by:
srinathava,
tmaas
|
From: <tm...@us...> - 2008-08-07 13:49:50
|
Revision: 1042
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1042&view=rev
Author: tmaas
Date: 2008-08-07 13:49:58 +0000 (Thu, 07 Aug 2008)
Log Message:
-----------
- mention let g:tex_flavor='latex'
Modified Paths:
--------------
trunk/vimfiles/doc/latex-suite.txt
trunk/vimfiles/doc/latex-suite.xml
Modified: trunk/vimfiles/doc/latex-suite.txt
===================================================================
--- trunk/vimfiles/doc/latex-suite.txt 2008-08-07 13:45:14 UTC (rev 1041)
+++ trunk/vimfiles/doc/latex-suite.txt 2008-08-07 13:49:58 UTC (rev 1042)
@@ -121,6 +121,11 @@
" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
+ " OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
+ " 'plaintex' instead of 'latex', which results in vim-latex not being loaded.
+ " The following changes the default filetype back to 'latex':
+ let g:tex_flavor='latex'
+
In addition, the following settings could go in your ~/.vim/ftplugin/tex.vim
Modified: trunk/vimfiles/doc/latex-suite.xml
===================================================================
--- trunk/vimfiles/doc/latex-suite.xml 2008-08-07 13:45:14 UTC (rev 1041)
+++ trunk/vimfiles/doc/latex-suite.xml 2008-08-07 13:49:58 UTC (rev 1042)
@@ -79,6 +79,11 @@
" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
+
+" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
+" 'plaintex' instead of 'latex', which results in vim-latex not being loaded.
+" The following changes the default filetype back to 'latex':
+let g:tex_flavor='latex'
</programlisting>
</para>
<para>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|