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

Tags for haskell with lushtags #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

d11wtq
Copy link
Member

@d11wtq d11wtq commented Aug 8, 2014

From kien#558:

Nothing fancy, just use lushtags for buffer tags if it is installed.

@d11wtq
Copy link
Member Author

d11wtq commented Aug 8, 2014

Does anybody use Haskell who can test this?

@osa1
Copy link

osa1 commented Aug 13, 2014

Just tried this. :CtrlPBufTag doesn't work(always shows empty list of tags) but :CtrlPBufTagAll works.

@d11wtq
Copy link
Member Author

d11wtq commented Aug 14, 2014

@osa1 thanks for testing!

@ches
Copy link

ches commented Feb 6, 2015

I've not tested this PR, but FWIW I've personally not used lushtags because its maintenance seems to be stalled, its dependencies are now rather out-of-date. I'm using hasktags successfully for :CtrlPBufTag and :CtrlPTag with this custom type setting:

  let g:ctrlp_buftag_types.haskell = {
    \ 'bin'  : 'hasktags',
    \ 'args' : '--ctags --extendedctag --output=-',
  \ }

and in Tagbar with the hasktags definition on their wiki.

If there's interest in a pull request similar to this one but supporting the hasktags executable, I can whip one up.

@dkasak
Copy link

dkasak commented Oct 1, 2016

FWIW, the mkasa/lushtags fork of lushtags works well and I'm using it for both ctrlp and tagbar. I don't know the relative pros and cons of this version of lushtags vs hasktags.

EDIT: Also @d11wtq, what is the [buffer] argument of :CtrlPBufTag supposed to be? The path of the file opened in the buffer? At first I assumed it was the buffer number, but that didn't work. This pull request seems to work for me for both :CtrlPBufTag % and :CtrlPBufTagAll.

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

Successfully merging this pull request may close these issues.

None yet

5 participants