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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use fast-tags
instead of hasktags
?
#1686
Comments
There is no such configuration possible currently because the code which constructs the
|
@purcell Thanks! I will try to use this hook and report the status back 馃憤 |
@purcell That command, works, thanks! I specified the following command:
Unfortunately, it doesn't completely work. When I'm trying to jump to definition, I see that Anyway, looks like it's possible to implement a better integration with |
This is the way to go, I think. You can probably try something like this: (defun my/haskell-fast-tags ()
;; Use (buffer-file-name) and/or `default-directory` if necessary here
(let ((default-directory (haskell-cabal--find-tags-dir)))
(shell-command "~/.cabal/bin/fast-tags ...")))
(add-hook 'haskell-mode-hook (lambda () (add-hook 'after-save-hook 'my/haskell-fast-tags t))) |
Thanks for writing and maintaining this Emacs mode! It works really well so far 馃憤
I have some difficulties figuring out how to use
fast-tags
instead ofhasktags
. I've installedfast-tags
and I can generate properTAGS
file using the following command from the package root:However, I don't know how to call it automatically on file save. I tried the following (similar to #1576):
But this doesn't generate
TAGS
file on file save. Could you please help to find proper configuration to makefast-tags
work properly withhaskell-mode
? Thanks in advance!The text was updated successfully, but these errors were encountered: