docs(vertico): document new consult grep behavior
- explain how consult translates regexp matches in the readme - add doom doctor checks for pcre support
This commit is contained in:
parent
0a69ca957a
commit
4b0b7f55c8
2 changed files with 28 additions and 6 deletions
11
modules/completion/vertico/doctor.el
Normal file
11
modules/completion/vertico/doctor.el
Normal file
|
@ -0,0 +1,11 @@
|
|||
;;; 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."))
|
Loading…
Add table
Add a link
Reference in a new issue