Ghci :ctags or hasktags print to standard out instead of file

10 Oct
2009
10 Oct
'09
8:48 a.m.
Hi, I want to use Vim with Haskell. Therefore ctags generation is really useful. The TagList plugin for Vim reads the ctags info from the command line instead of from the file. I could not figure out how to make ghci :ctags or hasktasks to print the ctags info to the command line. Is there a way to do that? Any hints? Kind regards Johannes

10 Oct
10 Oct
10:03 a.m.
The TagList plugin for Vim reads the ctags info from the command line instead of from the file. I could not figure out how to make ghci :ctags or hasktasks to print the ctags info to the command line. Is there a way to do that? Any hints?
Hmm... some shell magic: mkfifo foo cat foo & echo ":ctags foo" | ghci your_file.hs &> /dev/null Not the nice way, of course. Steffen
5704
Age (days ago)
5704
Last active (days ago)
1 comments
2 participants
participants (2)
-
Johannes
-
Steffen Schuldenzucker