Comments (7)
So I just took a look and I think that the sanity check that is being done here just needs to be removed. It was a good thought, but there are too many variables for how a user can decide to create a substitution pattern. Passing the value through with no checks is the better option. Let argdo
blow up if something isn't right.
from ferret.
I'm open to making the sanity check more flexible, but not removing it.
On Sat, Aug 1, 2015 at 2:06 AM Jeff Felchner [email protected]
wrote:
So I just took a look and I think that the sanity check that is being done
here
https://github.com/wincent/ferret/blob/master/autoload/ferret/private.vim#L242-L245
just needs to be removed. It was a good thought, but there are too many
variables for how a user can decide to create a substitution pattern.
Passing the value through with no checks is the better option. Let argdo
blow up if something isn't right.—
Reply to this email directly or view it on GitHub
#17 (comment).
from ferret.
@wincent I'll look into it.
from ferret.
I'm thinking it can be as simple as changing the regex to something like '\v^(.).+\1.*\1c?$
, and then passing the c
through if present.
from ferret.
@wincent was something like this merged in?
from ferret.
Yes. See the commit linked above (937d61b), currently in master.
from ferret.
Cool! Thanks!
from ferret.
Related Issues (20)
- Implement :Lacks, analogous to :Acks but applying to the location-list HOT 3
- ferret make <cword> not working. HOT 4
- allow umap key as feature HOT 1
- FerretAckWord should pass -w option by default HOT 2
- Add a binding to reload the quickfix window
- Autocompleting a directory does not include trailing slash HOT 2
- how to show full path ? HOT 4
- Add a function that prompts for a search query HOT 2
- Port to Lua HOT 3
- Individual overrides HOT 2
- :Black command shadows vim-black :Black (main command) HOT 2
- Case insensitvie search HOT 4
- ripgrep 13.0.0 breaks search in neovim HOT 2
- key mapping HOT 7
- Ferret fails to search string using non ascii character HOT 3
- Ripgrep 13 search stuck when using options in neovim HOT 4
- Delete quickfix/loclist to empty will cause ferret#private#qf_delete error HOT 3
- nvim v0.7.0 error HOT 4
- Tons of duplicate results that don't show up in `rg` HOT 6
- Async not used in Vim HOT 1
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 ferret.