Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lushtags doesn't work with tagbar on OS X. #5

Open
oryband opened this issue Aug 14, 2012 · 1 comment
Open

Lushtags doesn't work with tagbar on OS X. #5

oryband opened this issue Aug 14, 2012 · 1 comment

Comments

@oryband
Copy link

oryband commented Aug 14, 2012

This is probably something local on my machine, but I have been trying to make this work for several days without success.

I'm using a 2010 13i Macbook Pro, OS X Lion. I have installed Lushtags with cabal install lushtags and am using the Vundle plugin manager to install lushtags & TagBar, which has been working smoothly for other languages (Python, JS, etc.).

Executing lushtags through the terminal works fine and produces ctags files as it should. However, TagBar doesn't show anything when opening *.hs files.

What am I missing?

@oryband
Copy link
Author

oryband commented Aug 15, 2012

I got it! The problem was with my .bash_profile (Mac's .bashrc). I added the Cabal packages bin directory incorrectly.

I changed this:

PATH="~/.cabal/bin:$PATH"

Into this:

PATH="$HOME/.cabal/bin:$PATH"

And now everything works like a charm.

The problem was that Vim's PATH is different from bash's PATH, thus Vim didn't have lushtags available for use.

You should probably add this to your README.md. I've seen other people post similar issues on other Haskell/Vim plugins like Syntastic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant