[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 19c03cc 254/385: company-mode shouldn't f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 19c03cc 254/385: company-mode shouldn't force an hsinspect call |
Date: |
Tue, 5 Oct 2021 23:59:42 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 19c03cc29480fe1cdfff0a552b796fe9210e071e
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
company-mode shouldn't force an hsinspect call
---
haskell-tng-contrib-company.el | 2 +-
haskell-tng-hsinspect.el | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/haskell-tng-contrib-company.el b/haskell-tng-contrib-company.el
index 4d78e98..e436220 100644
--- a/haskell-tng-contrib-company.el
+++ b/haskell-tng-contrib-company.el
@@ -54,7 +54,7 @@
;;(message "TNG asked with %S" arg)
(seq-mapcat
(lambda (names) (all-completions arg (seq-map #'cdr names)))
- (haskell-tng--hsinspect-imports)))
+ (haskell-tng--hsinspect-imports 'lookup-only)))
('sorted t)
('duplicates t)
;; TODO 'meta return the FQN
diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index 435987d..5e12793 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -80,8 +80,8 @@ change."
(defvar-local haskell-tng--hsinspect-imports nil
"Cache for the last `imports' call for this buffer.
t means the process failed.")
-(defun haskell-tng--hsinspect-imports ()
- (if haskell-tng--hsinspect-imports
+(defun haskell-tng--hsinspect-imports (&optional lookup-only)
+ (if (or lookup-only haskell-tng--hsinspect-imports)
(unless (eq t haskell-tng--hsinspect-imports)
haskell-tng--hsinspect-imports)
(setq haskell-tng--hsinspect-imports t) ;; avoid races
- [nongnu] elpa/haskell-tng-mode 6d4e150 353/385: upgrade hsinspect version, (continued)
- [nongnu] elpa/haskell-tng-mode 6d4e150 353/385: upgrade hsinspect version, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4f84cde 347/385: improve importing qualified symbols, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 86d9020 373/385: one hsinspect-lsp can be shared by all projects, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a98dda0 380/385: emacs 27 macro deprecations, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aeaf363 220/385: bugfinding, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9a7534e 262/385: bugfixes for abbrev, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 356f27b 278/385: more stable hsinspect calls, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode be39ede 258/385: if/then/else indentation test, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode be4cc15 238/385: better hsinspect command, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 73ba85d 270/385: nicer indentation for single parameter type sigs, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 19c03cc 254/385: company-mode shouldn't force an hsinspect call,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode a947ef0 249/385: support for projects with custom Setup.hs, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode dc7aabf 281/385: popup tooltips, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode fb9174d 292/385: removing popup is futile, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1b4bf3b 294/385: improve the cabal defaults, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b2cd1c8 297/385: projectile-tags-command should be buffer local, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 7b45c25 298/385: guard file saving, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e245a93 296/385: allow opt-out of local history, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 411268e 310/385: improve hsinspect error messages, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 766480d 290/385: fast-tags should be project specific, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode efd8093 299/385: silent formatter errors, ELPA Syncer, 2021/10/06