branch: elpa/haskell-tng-mode commit 99287efb08dfc79a134cd884ef65836d39844417 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
stack projectile defaults --- haskell-tng-extra-projectile.el | 6 +----- haskell-tng-extra-stack.el | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/haskell-tng-extra-projectile.el b/haskell-tng-extra-projectile.el index 4fbf108..d3d28cc 100644 --- a/haskell-tng-extra-projectile.el +++ b/haskell-tng-extra-projectile.el @@ -16,11 +16,7 @@ (add-hook 'haskell-tng-mode-hook (lambda () - ;; TODO use the build tool to look for project specific installations of - ;; fast-tags (this seems a generic requirement including for hsinspect). Will - ;; require doing some advice magic to avoid slowing down the buffer opening. - (setq-local projectile-tags-command "fast-tags -Re --exclude=dist-newstyle --exclude=.stack-work .") - )) + (setq-local projectile-tags-command "fast-tags -Re --exclude=dist-newstyle ."))) (provide 'haskell-tng-extra-projectile) ;;; haskell-tng-extra-projectile.el ends here diff --git a/haskell-tng-extra-stack.el b/haskell-tng-extra-stack.el index d7348b6..84dc218 100644 --- a/haskell-tng-extra-stack.el +++ b/haskell-tng-extra-stack.el @@ -21,7 +21,8 @@ "stack build --fast --no-interleaved-output --ghc-options=\"-j\"")) (setq-default - haskell-tng--compile-alt "stack clean") + haskell-tng--compile-alt "stack clean" + projectile-tags-command "fast-tags -Re --exclude=.stack-work .") (provide 'haskell-tng-extra-stack) ;;; haskell-tng-extra-stack.el ends here