[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 4217d98 378/385: fixup! third party tools
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 4217d98 378/385: fixup! third party tools use project specific PATH |
Date: |
Wed, 6 Oct 2021 00:00:08 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 4217d984faebba791372caa13206f714387337b1
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
fixup! third party tools use project specific PATH
---
haskell-tng-extra-lsp-hsinspect.el | 7 +------
haskell-tng-extra-projectile.el | 7 ++++++-
haskell-tng-extra-stack.el | 5 ++++-
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/haskell-tng-extra-lsp-hsinspect.el
b/haskell-tng-extra-lsp-hsinspect.el
index 1117c50..300ff0c 100644
--- a/haskell-tng-extra-lsp-hsinspect.el
+++ b/haskell-tng-extra-lsp-hsinspect.el
@@ -13,15 +13,10 @@
(require 'lsp-mode)
-(defcustom haskell-tng-lsp-hsinspect "hsinspect-lsp"
- "The command and args to launch the hsinspect language server."
- :group 'haskell-tng
- :type 'stringp)
-
(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection
- (lambda () haskell-tng-lsp-hsinspect))
+ (lambda () (haskell-tng--util-which "hsinspect-lsp")))
:major-modes '(haskell-tng-mode)
:server-id 'hsinspect-lsp
:multi-root 't
diff --git a/haskell-tng-extra-projectile.el b/haskell-tng-extra-projectile.el
index b427e35..b71c8db 100644
--- a/haskell-tng-extra-projectile.el
+++ b/haskell-tng-extra-projectile.el
@@ -9,6 +9,8 @@
(require 'projectile)
+(require 'haskell-tng-util)
+
;; TODO fix the haskell-stack detection to also include cabal
;; TODO populate the projectile compile/run/test commands
@@ -19,7 +21,10 @@
;; Excluding dist-newstyle means excluding git source deps and generated
;; files, but also gives a bit of a speed boost since it will ignore
;; directories containing object files.
- (setq-local projectile-tags-command "fast-tags -Re --exclude=dist-newstyle
.")))
+ (setq-local projectile-tags-command
+ (concat
+ (haskell-tng--util-which "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 3ff0627..410441a 100644
--- a/haskell-tng-extra-stack.el
+++ b/haskell-tng-extra-stack.el
@@ -19,7 +19,10 @@
(setq-default
haskell-tng--compile-alt "stack clean"
- projectile-tags-command "fast-tags -Re --exclude=.stack-work .")
+ projectile-tags-command
+ (concat
+ (haskell-tng--util-which "fast-tags")
+ " -Re --exclude=.stack-work ."))
(provide 'haskell-tng-extra-stack)
;;; haskell-tng-extra-stack.el ends here
- [nongnu] elpa/haskell-tng-mode aca98c2 333/385: simplify import-symbol-at-point logic, (continued)
- [nongnu] elpa/haskell-tng-mode aca98c2 333/385: simplify import-symbol-at-point logic, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1e3c465 329/385: import types and data constructors, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3ab7495 342/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ef3cea6 340/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a14a2c2 332/385: allow dir locals for the -as lookups, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2050c16 323/385: bad parameter order, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2d50a06 358/385: enable CI, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 923fa9e 344/385: bugfixes in jump-to-definition, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3939303 334/385: importing from the hsinspect index will update the buffer cache, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3ea52c1 341/385: special case jumping to inplace packages, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4217d98 378/385: fixup! third party tools use project specific PATH,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode f7f0e0f 383/385: moar extras, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2017d07 384/385: widen hsinspect range, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 083e80a 110/385: assert on alternative indentation order, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ec1ac46 361/385: document a bug, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4b598b2 377/385: third party tools use project specific PATH, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aaf7c55 370/385: support for hsinspect-lsp, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b3e6c9a 113/385: compilation mode regression tests vs haskell-mode, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 99a7f10 337/385: cleanup, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e6d8761 343/385: local jump-to-definition should error, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c31afdb 272/385: missing CPP case, ELPA Syncer, 2021/10/06