[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode aa9cdbb 226/385: hacky file-specific lang
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode aa9cdbb 226/385: hacky file-specific language extensions |
Date: |
Tue, 5 Oct 2021 23:59:36 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit aa9cdbb7341767beda8a7ccb80c33a0f23ceccd7
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
hacky file-specific language extensions
---
haskell-tng-hsinspect.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index 75a4c64..f0051e9 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -21,6 +21,10 @@
:type 'listp
:group 'haskell-tng)
+(defvar-local haskell-tng-hsinspect-langexts nil)
+;; TODO improve the validity checker
+(put 'haskell-tng-hsinspect-langexts 'safe-local-variable #'listp)
+
(defun haskell-tng-fqn-at-point ()
"Consult the imports in scope and display the fully qualified
name of the symbol at point in the minibuffer."
@@ -57,7 +61,8 @@ t means the process failed.")
;; TODO async
(car haskell-tng-hsinspect) nil "*hsinspect*" nil
(append (cdr haskell-tng-hsinspect)
- `("hsinspect" "imports" ,buffer-file-name))))
+ `("hsinspect" "imports" ,buffer-file-name)
+ haskell-tng-hsinspect-langexts)))
(message "hsinspect failed, semantic support disabled")
(setq haskell-tng--hsinspect-imports
(with-current-buffer "*hsinspect*"
- [nongnu] elpa/haskell-tng-mode 2cfae9e 276/385: bump hsinspect, (continued)
- [nongnu] elpa/haskell-tng-mode 2cfae9e 276/385: bump hsinspect, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 949f857 242/385: support component directories, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 7ae3f46 244/385: more workarounds for hsinspect setup, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 494aef4 302/385: cache the results of hsinspect imports, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 598b372 288/385: typo, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e0fd8f4 303/385: abstract the hsinspect caching logic, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4dc6f76 313/385: fix hsinspect discoverability, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode eb4591f 287/385: document popup dependency, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 48729c8 308/385: more cache cleanups, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 6299e6d 317/385: amazeballs idea, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aa9cdbb 226/385: hacky file-specific language extensions,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode a4f06f5 237/385: an idea, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 0113f37 273/385: hsinspect should work on symbols with FQNs, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 06e4e76 245/385: support running scripts on nix, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3179294 267/385: rename ormolu command, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 388df13 282/385: refactor calls to hsinspect to allow for more callers, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 067e8a7 280/385: bugfix fontification of erroneous matches inside strings, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 224e955 307/385: add screencasts to the README, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b59ce04 356/385: improve testing, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ee1fb28 345/385: small cleanup, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1310276 346/385: planning, ELPA Syncer, 2021/10/06