dev: updating pr7002 from pr

This commit is contained in:
Matt Nish-Lapidus 2024-01-27 09:24:27 -05:00
commit 6f87cc0b7a
4 changed files with 12 additions and 5 deletions

View file

@ -13,7 +13,9 @@
:in PATH :in PATH
Sets what directory to base the search out of. Defaults to the current project's root. Sets what directory to base the search out of. Defaults to the current project's root.
:recursive BOOL :recursive BOOL
Whether or not to search files recursively from the base directory." Whether or not to search files recursively from the base directory.
:args LIST
Arguments to be appended to `consult-ripgrep-args'."
(declare (indent defun)) (declare (indent defun))
(unless (executable-find "rg") (unless (executable-find "rg")
(user-error "Couldn't find ripgrep in your PATH")) (user-error "Couldn't find ripgrep in your PATH"))
@ -29,7 +31,7 @@
"--path-separator / --smart-case --no-heading " "--path-separator / --smart-case --no-heading "
"--with-filename --line-number --search-zip " "--with-filename --line-number --search-zip "
"--hidden -g !.git -g !.svn -g !.hg " "--hidden -g !.git -g !.svn -g !.hg "
(mapconcat #'shell-quote-argument args " "))) (mapconcat #'identity args " ")))
(prompt (if (stringp prompt) (string-trim prompt) "Search")) (prompt (if (stringp prompt) (string-trim prompt) "Search"))
(query (or query (query (or query
(when (doom-region-active-p) (when (doom-region-active-p)

View file

@ -0,0 +1,5 @@
;;; lang/idris/doctor.el -*- lexical-binding: t; -*-
(when (require 'idris-mode nil t)
(unless (executable-find idris-interpreter-path)
(warn! "Cannot find the idris interpreter. Most features will not work.")))

View file

@ -7,7 +7,7 @@
;; Example: ;; Example:
;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project") ;; ((nil . ((ssh-deploy-root-local . "/local/path/to/project")
;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/") ;; (ssh-deploy-root-remote . "/ssh:user@server:/remote/project/")
;; (ssh-deploy-on-explicit-save . t)))) ;; (ssh-deploy-on-explicit-save . 1))))
;; ;;
;; Note: `ssh-deploy-root-local' is optional, and will resort to ;; Note: `ssh-deploy-root-local' is optional, and will resort to
;; `doom-project-root' if unspecified. ;; `doom-project-root' if unspecified.
@ -20,7 +20,7 @@
ssh-deploy-remote-changes-handler) ssh-deploy-remote-changes-handler)
:init :init
(setq ssh-deploy-revision-folder (concat doom-cache-dir "ssh-revisions/") (setq ssh-deploy-revision-folder (concat doom-cache-dir "ssh-revisions/")
ssh-deploy-on-explicit-save t ssh-deploy-on-explicit-save 1
ssh-deploy-automatically-detect-remote-changes nil) ssh-deploy-automatically-detect-remote-changes nil)
;; Make these safe as file-local variables ;; Make these safe as file-local variables

View file

@ -2,7 +2,7 @@
;;; ui/modeline/packages.el ;;; ui/modeline/packages.el
(unless (modulep! +light) (unless (modulep! +light)
(package! doom-modeline :pin "93f240f7a0bf35511cfc0a8dd75786744b4bcf77")) (package! doom-modeline :pin "bf880ae56f3f6aab7bd334de9bd9b455c63a24c0"))
(package! anzu :pin "5abb37455ea44fa401d5f4c1bdc58adb2448db67") (package! anzu :pin "5abb37455ea44fa401d5f4c1bdc58adb2448db67")
(when (modulep! :editor evil) (when (modulep! :editor evil)
(package! evil-anzu :pin "d1e98ee6976437164627542909a25c6946497899")) (package! evil-anzu :pin "d1e98ee6976437164627542909a25c6946497899"))