mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
- explain how consult translates regexp matches in the readme - add doom doctor checks for pcre support
12 lines
540 B
EmacsLisp
12 lines
540 B
EmacsLisp
;;; completion/vertico/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
(require 'consult)
|
|
|
|
(unless (consult--grep-lookahead-p "grep" "-P")
|
|
(warn! "The installed grep binary was not built with support for PCRE lookaheads.
|
|
Some advanced consult filtering features will not work as a result, see the module readme."))
|
|
|
|
(unless (consult--grep-lookahead-p "rg" "-P")
|
|
(warn! "The installed ripgrep binary was not built with support for PCRE lookaheads.
|
|
Some advanced consult filtering features will not work as a result, see the module readme."))
|