emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-tng-mode 99287ef 316/385: stack projectile default


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 99287ef 316/385: stack projectile defaults
Date: Tue, 5 Oct 2021 23:59:55 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 99287efb08dfc79a134cd884ef65836d39844417
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]