[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-hoogle a4bde80ebd 7/7: Cosmetic changes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-hoogle a4bde80ebd 7/7: Cosmetic changes |
Date: |
Mon, 5 Feb 2024 18:57:36 -0500 (EST) |
branch: externals/consult-hoogle
commit a4bde80ebde311e67c3aeaf53d39a3b6e3164dab
Author: Rahguzar <rahguzar@zohomail.eu>
Commit: Rahguzar <rahguzar@zohomail.eu>
Cosmetic changes
From Philip Kaludercic's review
---
consult-hoogle.el | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/consult-hoogle.el b/consult-hoogle.el
index ed08981388..1126b9ea33 100644
--- a/consult-hoogle.el
+++ b/consult-hoogle.el
@@ -8,13 +8,14 @@
;; Keywords: docs languages
;; Homepage: https://codeberg.org/rahguzar/consult-hoogle
;; Package-Requires: ((emacs "27.1") (haskell-mode "16.1"))
-;;
+
;; This file is part of GNU Emacs.
-;;
+
;;; Commentary:
+
;; Search the local hoogle database from Emacs using the nicities provided by
;; consult.
-;;
+
;;; Code:
;;;; Packages
@@ -31,7 +32,7 @@
(defcustom consult-hoogle-args
'("hoogle" . ("search" "--jsonl" "-q" "--count=250"))
"The hoogle invocation used to get results.
-It is should be a cons (COMMAND . ARGS). COMMAND should be valid executable.
+It is should be a cons (COMMAND . ARGS). COMMAND should be valid executable.
It is called arguments ARGS with the search query appended. It should produce
search results in JSON lines format."
:type '(cons (string :tag "Hoogle command")
@@ -247,7 +248,7 @@ STATE is the optional state function passed to the
`consult--read'."
(defun consult-hoogle (arg)
"Search the local hoogle database.
By default this shows the documentation for the current candidate in a side
-window. This can be disabled by a prefix ARG."
+window. This can be disabled by a prefix ARG."
(interactive (list current-prefix-arg))
(if arg (consult-hoogle--search)
(let* ((buf (get-buffer-create " *Hoogle Documentation*" t))
@@ -269,7 +270,7 @@ By default uses cabal-hoogle and the database should have
been generated
by running `cabal-hoogle generate'. `consult-hoogle-project-args' can be
customized to configure an alternate command.
By default this shows the documentation for the current candidate in a side
-window. This can be disabled by a prefix ARG."
+window. This can be disabled by a prefix ARG."
(interactive (list current-prefix-arg))
(let ((consult-hoogle-args consult-hoogle-project-args)
(default-directory (haskell-cabal-find-dir)))
@@ -302,13 +303,15 @@ window. This can be disabled by a prefix ARG."
(scroll-up arg)))
(defun consult-hoogle-restrict-to-package (package &optional arg)
- "Restrict the search to PACKAGE. With prefix ARG exluce package from search."
+ "Restrict the search to PACKAGE.
+With prefix ARG exluce package from search."
(interactive (list (consult-hoogle--get 'package) current-prefix-arg))
(when package
(consult-hoogle--add-to-input (if arg "-" "+") (downcase package))))
(defun consult-hoogle-restrict-to-module (module &optional arg)
- "Restrict the search to MODULE. With prefix ARG exluce module from search."
+ "Restrict the search to MODULE.
+With prefix ARG exluce module from search."
(interactive (list (consult-hoogle--get 'module) current-prefix-arg))
(when module (consult-hoogle--add-to-input (if arg "-" "+") module)))
- [elpa] externals/consult-hoogle updated (cc4ed71724 -> a4bde80ebd), ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 8fde70225e 1/7: Copyright + file is part of Emacs, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle cdd73b2ebb 2/7: Add gitignore, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 57204c6324 6/7: Remove unneeded form from regexp, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 26c9455b21 3/7: Add elpaignore files for png images, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 86bfb4269f 4/7: Define the group for customization options, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle 368efca2ce 5/7: Don't use vertico-count for window height, ELPA Syncer, 2024/02/05
- [elpa] externals/consult-hoogle a4bde80ebd 7/7: Cosmetic changes,
ELPA Syncer <=