[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode b1122e4 188/385: allow users to use unsup
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode b1122e4 188/385: allow users to use unsupported build tools |
Date: |
Tue, 5 Oct 2021 23:59:28 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit b1122e429307e508f335341a30779cd1e926593b
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
allow users to use unsupported build tools
---
haskell-tng-compile.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/haskell-tng-compile.el b/haskell-tng-compile.el
index b468553..bd527a3 100644
--- a/haskell-tng-compile.el
+++ b/haskell-tng-compile.el
@@ -66,6 +66,11 @@
(defvar-local haskell-tng-compile:command nil)
(defvar-local haskell-tng-compile:alt "cabal v2-clean")
+(defvar haskell-tng-compile:dominating-file
+ (rx (| "cabal.project" "cabal.project.local" "cabal.project.freeze"
+ (: (+ any) ".cabal")
+ "package.yaml" "stack.yaml")))
+
(defun haskell-tng-compile (&optional edit-command)
"`compile' specialised to Haskell:
@@ -99,9 +104,7 @@ will cause the subsequent call to prompt."
(when-let (default-directory
(haskell-tng:locate-dominating-file
- (rx (| "cabal.project" "cabal.project.local"
"cabal.project.freeze"
- (: (+ any) ".cabal")
- "package.yaml" "stack.yaml"))))
+ haskell-tng-compile:dominating-file))
(compilation-start
command
'haskell-tng-compilation-mode
- [nongnu] elpa/haskell-tng-mode 3f54673 155/385: don't fontify toplevel, (continued)
- [nongnu] elpa/haskell-tng-mode 3f54673 155/385: don't fontify toplevel, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 32175c0 158/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 8c2e3f7 157/385: better symid indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode bc5c827 160/385: tuple indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e0acc42 156/385: better tasty error detection, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c211672 174/385: indentation for hanging type definition, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ef7f335 171/385: note stack compatibility, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 86bcd98 175/385: constraint indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e1c0f0a 179/385: allow indentation option to be tested, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1cceb64 182/385: cleaner tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b1122e4 188/385: allow users to use unsupported build tools,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode bd4ff6f 192/385: standardise on naming convention:, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3b5ac7f 190/385: package-lint, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a227f7e 200/385: blank lines end a run of type definitions, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e4ead98 201/385: thots on prettify-symbol, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 387aa18 203/385: more efficient layout algorithm, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode bfc3841 193/385: remove bind-key dependency, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 6acba95 206/385: better insertion indentation on toplevels, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9bfc6bf 215/385: really basic imenu, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f648cf9 212/385: fallback to current directory (e.g. for cabal scripts), ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 5bdf688 211/385: better in-line indentation of parens, ELPA Syncer, 2021/10/06