rbonvall / vim-textobj-latex

Vim text objects for LaTeX code
http://www.vim.org/scripts/script.php?script_id=4506
36 stars 8 forks source link

Vundle does not load #3

Open Konfekt opened 10 years ago

Konfekt commented 10 years ago

Probably Vundle does not load in ftplugin subdirectories. Consider renaming to tex_textobj-latex.vim for example.

At the moment the following serves:

if filereadable(expand("~/.vim/bundle/vim-textobj-latex/ftplugin/tex/textobj-latex.vim"))
  if has("autocmd")
    autocmd BufNewFile,BufRead *.tex execute ":source ".expand("~/.vim/bundle/vim-textobj-latex/ftplugin/tex/textobj-latex.vim")
  endif
endif
rbonvall commented 10 years ago

That's weird, it works well for me. Can you share your vundle configuration? Mine is at https://github.com/rbonvall/dotvim/blob/master/bundles.vim

Konfekt commented 10 years ago

I opened an issue at Vundle and it seems to be a common problem on Windows.

Take a look at

https://github.com/gmarik/Vundle.vim/issues/433#issuecomment-40113864

Am jeudi 10 avril 2014 15:31:37 schrieb Roberto Bonvallet:

That's weird, it works well for me. Can you share your vundle configuration? Mine is at https://github.com/rbonvall/dotvim/blob/master/bundles.vim

— Reply to this email directly or view it on GitHub https://github.com/rbonvall/vim-textobj-latex/issues/3#issuecomment-40081471.

starcraftman commented 10 years ago

@rbonvall Do you ever use your vimrc setup with all those plugins on Windows? I'm beginning to suspect some platform issue.

rbonvall commented 10 years ago

@starcraftman No, I haven't managed to get the plugins working on Windows. When I have to edit text on Windows, I always end up resorting to vanilla Vim.