[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 9b334f7 275/385: ghcflags
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 9b334f7 275/385: ghcflags |
Date: |
Tue, 5 Oct 2021 23:59:46 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 9b334f7e1ce5da671171090d9e93fde7a7e546b8
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
ghcflags
---
README.md | 8 +++-----
haskell-tng-extra.el | 3 ++-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 4f3e9c5..d5ab541 100644
--- a/README.md
+++ b/README.md
@@ -73,12 +73,10 @@ for V in 8.4.4 8.6.5 ; do
done
```
-And add the compiler plugin to every project you plan to inspect:
+And add the `ghcflags` compiler plugin to every project you plan to inspect:
-1. add a dependency on `hsinspect`
-2. add `-fplugin HsInspect.Plugin` to `ghc-options`
-
-`hsinspect` only works when the dependencies of the current file have been
compiled (the current file doesn't need to be compilable).
+1. add a `build-depends` on `ghcflags`
+2. add `-fplugin GhcFlags.Plugin` to `ghc-options`
The `haskell-tng-extra-company` package will automatically complete symbols
that are in scope.
diff --git a/haskell-tng-extra.el b/haskell-tng-extra.el
index 0e5e806..48fe0da 100644
--- a/haskell-tng-extra.el
+++ b/haskell-tng-extra.el
@@ -73,10 +73,11 @@ When in a comment and called with a prefix, the comment
will be completed."
(interactive)
(save-buffer)
(unless (= 0 (call-process "ormolu" nil "*ormolu*" nil
+ ;; "-p"
"-o" "-XTypeApplications"
"-o" "-XBangPatterns"
"-o" "-XPatternSynonyms"
- "-c" "-m" "inplace"
+ "-m" "inplace"
buffer-file-name))
(pop-to-buffer "*ormolu*" nil t))
(revert-buffer t t t))
- [nongnu] elpa/haskell-tng-mode 59640ce 234/385: cleanups thanks to MELPA review, (continued)
- [nongnu] elpa/haskell-tng-mode 59640ce 234/385: cleanups thanks to MELPA review, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 35d3830 306/385: cache improvements, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c0b1b6b 301/385: change the compile-always-ask default, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 907c8fa 153/385: ImplicitParams indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ca00f1f 183/385: thot, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 611711a 208/385: address melpa review, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 89c5c80 223/385: improve smartparens workaround, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e270647 228/385: more robust calls to hsinspect, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ad5967b 236/385: simpler installation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 599d4f0 283/385: import symbol at point, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9b334f7 275/385: ghcflags,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode f221f95 173/385: introduce types and constraints to the grammar, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ae1d399 268/385: backslashes are only keywords when used in lambdas, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1d74d5f 279/385: backslash bughunting, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 499c77f 261/385: abbrev-mode support, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e2e3490 382/385: hide-show supports BOILERPLATE START ... BOILERPLATE END, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a34e796 368/385: improve debugging, ELPA Syncer, 2021/10/06