Comments (6)
For future reference:
This often happens when one mistakenly have rg
installed in their anaconda environments, which often supersedes in PATH. The official prebuilt binaries well support PCRE2.
from any-jump.vim.
If you're installing ripgrep with Cargo, you should be able to enable PCRE2 support via cargo install ripgrep --features pcre2
.
Also, you all might consider using --auto-hybrid-regex
. I don't know exactly how you're invoking ripgrep and what kind of regexes you're using, but enabling PCRE2 can be slower: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pcre2-slow (There are ways to make it faster, which the FAQ entry addresses.) However, if you use --auto-hybrid-regex
, then ripgrep will automatically use its default engine if it can (when the regex doesn't have look-around or backreferences).
from any-jump.vim.
Hello, thanks for report. I will try to add PCRE2 check for better error message :)
Also i think too many any-jump regexps uses PCRE2, so this is not in my road-map, but i think i will research this problem.
from any-jump.vim.
Not only that. The installation through cargo doesn't support PCRE2 by default.
from any-jump.vim.
Okay, not all regexp rules uses PCRE2 look-ahed/behind so i think i can enable --auto-hybrid-regex instead of strict --PCRE2
Please try and let me know if it helps :)
from any-jump.vim.
Thank you @pechorin and @BurntSushi !
from any-jump.vim.
Related Issues (20)
- road to 1.0
- TS and JS pattern definition causes error on RunXDefinitionSearch HOT 10
- E716: Key not present in Dictionary: "text" HOT 2
- autoload/search.vim not loaded when using Plug and Vim 9.0 HOT 2
- error E491 in C++ files
- feature request: prioritize current file
- Support custom key binds in results window
- set not modifiable when possible
- Dynamically extend the `grep`-bin scan paths? HOT 1
- Feature Request: consider adding support for adding lang_map definitions
- Last cursor position lost HOT 3
- Feature Request: Push results to quickfix list HOT 2
- go to definition support HOT 1
- I am feeling lucky command HOT 1
- Crash/Hang when Running from Large Directory HOT 1
- Unable to use any function in large respository HOT 1
- Haskell: jump not working HOT 2
- Customizable options to base rg and ag commands
- Move images in project root to this issue
- When i use the anyjump, The following error prompt appears HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from any-jump.vim.