Closed darnir closed 10 years ago
Hi @darnir. Can you test that this isn't simply a plugin specific issue? Have you tried using pathogen, manual installation or neoBundle? I don't really know anything about latex so I'd like to be sure it is a Vundle specific issue and not a plugin problem.
You should upload your .vimrc.
I think your filetype plugin indent on
problem.
You must write like below:
Bundle 'gerw/vim-latex-suite'
filetype plugin indent on
@starcraftman I did originally have a manual install when it used to work. Then I decided to have Vundle manage this plugin too since it was already managing all other plugins of mine. But it doesn't work. I haven't tried using pathogen however, not with this plugin.
@Shougo I have filetype plugin indent on
. Also, you can see my whole ViM setup here:
https://github.com/darnir/dotfiles/tree/master/ViM
OK. You should upload minimal .vimrc less than 50 lines. And you should show the reproduce ways for us from Vim starting.
@darnir I just had a look at this plugin a bit more closely and it appears installation requires the execution of a makefile. Did you execute the makefile after using Vundle to download this? Vundle doesn't automatically run it. I assume you used to run this manually? Vundle doesn't do anything except clone and add the directories to the runtimepath. All other things are on the user.
I'm having a similar issue. In my .vimrc, I have the following
Plugin 'gerw/vim-latex-suite', {'rtp': 'bundle/vim-latex-suite/'}
But ViM can't see the plugin. When I add
set rtp+=~/.vim/bundle/vim-latex-suite
Then the plugin works. I don't think this is an issue with "making" the plugin since I can make it work without using the Makefile.
The top of my .vimrc file looks like:
set nocompatible
filetype off
" Set up Vundle
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
" let VundLe manage VundLe, required
Plugin 'gmarik/vundle'
" My Bundles here:
Plugin 'gerw/vim-latex-suite', {'rtp': 'bundle/vim-latex-suite/'}
"set rtp+=~/.vim/bundle/vim-latex-suite
"Bundle 'jcv/vim-latex'
"Bundle 'klen/python-mode'
"Bundle 'oblitum/rainbow'
filetype plugin indent on " required!
You are using the directory after the Plugin command in the wrong way. Please read the documentation on the 'rtp'
carefully. it should be Plugin 'gerw/vim-latex-suite'
and not Plugin 'gerw/vim-latex-suite', {'rtp': 'bundle/vim-latex-suite/'}
.
@lucc thanks for quick feedback, was just about to reply )
@lucc that worked. Don't know why I felt I needed the rtp
option.
Ok back to topic. @darnir Do you still have the issue? You didn't respond to my last message. If you don't reply after a week I'll close this, trying not to let us pile up on open issues.
@starcraftman Yes, I still have the issue. Sorry I was busy earlier and then it slipped my mind.
I know the plugin has a makefile, but it does nothing apart from creating a tarball. I ran it, just in case, but it doesn't help. I'm not sure as to what is actually causing the problem. I'm opening an issue with the plugin repo too right now.
Checking up on this old issue. Looked at the issue @darnir opened on gerw (https://github.com/gerw/vim-latex-suite/issues/3) and it appears it was part of his config. So I'm closing this.
Also note that you won't need to do that manual reconfig of the runtime path soon, we've merged a fix that we are testing and should be pushed soon.
I set the following line in my $MYVIMRC:
Bundle 'gerw/vim-latex-suite'
All my other plugins work perfectly, however, this one is giving me problems. It has a few files located in:
~/.vim/bundle/vim-latex-suite/ftplugin/latex-suite
But the files here are not being loaded when the correct filetype is loaded. Could someone help me debug and fix this?