all repos — nixfiles @ 3a52fcd76fe2313e041a6d3b45913dc2a6159779

System and user configuration, managed by nix and home-manager

Emacs: allow consult-ripgrep to follow symbolic links This makes it usable when browsing emacs package sources in the nix store, for example

Alan Pearce
commit

3a52fcd76fe2313e041a6d3b45913dc2a6159779

parent

16db58be43b3731911c616a3e1ae41a59aa4a98d

1 file changed, 4 insertions(+), 1 deletion(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -244,7 +244,10 @@ (use-package consult
:general ([remap isearch-forward] #'consult-line [remap isearch-backward] #'consult-line [remap project-switch-to-buffer] #'consult-project-buffer - [remap project-search] #'consult-ripgrep)) + [remap project-search] #'consult-ripgrep) + :config (progn + (setq consult-ripgrep-args + "rg --null --line-buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --with-filename --line-number --search-zip --follow"))) (use-package smerge-mode :after magit