I've put
augroup filetypedetect
" Some LaTeX types
au! BufRead,BufNewFile *.cls setfiletype tex
au! BufRead,BufNewFile *.lco setfiletype tex
augroup END
in my ".vim/filetype.vim" and
syntax on
filetype plugin on
in my ".vimrc".
Best Regards
Gerd
On 04/11/2012 10:47
In my personal copy of the latex-suite
(https://github.com/gerw/vim-latex-suite) I used the following change in
ftplugin/latex-suite/texviewer.vim to avoid those empty buffers.
Regards
Gerd
@@ -855,7 +856,8 @@ function! Tex_FindBibFiles()
call Tex_Debug(":Tex_FindBibFiles: ", "view")
> I've put
>
> augroup filetypedetect
> " Some LaTeX types
> au! BufRead,BufNewFile *.cls setfiletype tex
> au! BufRead,BufNewFile *.lco setfiletype tex
> augroup END
>
> in my ".vim/filetype.vim" and
>
> syntax on
> filetype plugin on
>
> in my ".vimrc".
Then I'm at a loss...
Gred's solution worked for me. I'm not sure how, but I just copy paste his
filetype.vim to my $HOME/vimfiles/ and it works!
Thanks everyone.
On 16 April 2012 14:38, Alessandro Pezzoni
wrote:
> > I've put
> >
> > augroup filetypedetect
> >" Some LaTeX types
> >au! BufRead,BufNewFi
> Gred's solution worked for me.
I'm sorry. I was still a bit dizzy this morning and thought that
Gerd's solution was your reply to my question.
I never had to do with .cls or .lco files, but if they they are latex
files and are in latex-suite's scope, maybe you could file a bug
report to include
Alright, I'll submit bug report, but I'm not sure how. From the project's
page:
http://vim-latex.sourceforge.net/index.php?subject=contact&title=Contact
it's said bugs should be reported on this mailing list, but how? Just open
a new topic and report the bug? Thanks for helping.
On 17 April 2012