From db4035dbca1a817285c841595da03c348f18166a Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Sat, 19 Apr 2014 11:12:20 +0200 Subject: [PATCH] Tags for haskell with lushtags --- autoload/ctrlp/buffertag.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/ctrlp/buffertag.vim b/autoload/ctrlp/buffertag.vim index a38cad56..5dcbf847 100644 --- a/autoload/ctrlp/buffertag.vim +++ b/autoload/ctrlp/buffertag.vim @@ -89,6 +89,10 @@ if executable('jsctags') cal extend(s:types, { 'javascript': { 'args': '-f -', 'bin': 'jsctags' } }) en +if executable('lushtags') + cal extend(s:types, { 'haskell': { 'args': '--ignore-parse-error', 'bin': 'lushtags' } }) +en + fu! ctrlp#buffertag#opts() for [ke, va] in items(s:opts) let {va[0]} = exists(s:pref.ke) ? {s:pref.ke} : va[1]