If this patch is general (i.e., it doesn't break Vim-LaTeX on other 
systems), you should definitely post it to the vim-latex-devel list:

Vim-Latex Mailing List <[email protected]>

with "[PATCH]" in the subject. One of the Vim-LaTeX admins will merge it 
into the SVN.

--Ted

On 5/1/09 8:18 PM, Maximilian Nickel wrote:
> Hi,
> Regarding the vim-latex menus: I had the same problem and ended up
> editing the vim-latex files as a workaround.
> It seems MacVim has a problem with vim-latex's use of <tab> in amenu lines.
> The attached patch removes them for templates and macros.
> Apply it with "patch -p0 < macvim-latex.diff"  in ~/.vim and you should
> see the filenames for templates and macros.
>
> Regarding the identation problem: you can try adding something like
> "autocmd FileType tex setlocal indentexpr="
> to your .vimrc
>
> /max
>
> On Tue, Apr 28, 2009 at 5:22 AM, boozler <[email protected]
> <mailto:[email protected]>> wrote:
>
>
>     The first problem is that the vim-latex templates do not have file
>     names in the MacVim menu (Tex-Suite -> Templates) only numbers. So I
>     have to guess at which template to load or load from the command line
>     "TTemplate" which displays the correct names.
>
>     Second problem: When I load my templates they are automatically
>     indented. Can I turn off indentation just for while loading templates?
>     If not can I turn off indentation just for the latex plugin? I need to
>     keep indentation going for other file types (c/c++/ruby/etc)...
>
>     FYI my vimrc:
>     filetype plugin indent on
>     set grepprg=grep\ -nH\ $*
>     let g:tex_flaver='latex'
>     let g:Tex_ViewRule_pdf = 'Preview'
>
>
>
>
> >

-- 
Ted Pavlic <[email protected]>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to