Comments (13)
I don't have a Windows development machine but if anybody does and cares to look into this a PR would be welcome.
from ferret.
I also get the same error on nvim on archlinux.
Neovim version is 0.3.8
from ferret.
It appears that this happens if a search is already running, and the cancel function is called
from ferret.
specifically the jobstop
function is what causes the invalid argument error
from ferret.
Seeing the same error message, using nvim 0.3.8 on windows 10. rg is installed so I assume it's using that.
from ferret.
I saw there were some nvim settings to play with. Setting let g:FerretNvim=0
produces this:
from ferret.
@tmccombs @jdhao Setting let g:FerretJob=0
fixes it for me.
@wincent this plugin is beautiful.
from ferret.
Nevermind, let g:FerretJob=0
doesn't fix it. It just worked that once then breaks after that.
from ferret.
I got this issue to go away by not specifying the ferret executable in my vimrc
from ferret.
When using neovim on windows, I also experienced the ferret ack command not working as it does on unix. Interestingly, it does work fine using vim on both operating systems. In order to get it to work using neovim on windows I had to set both the variables @loshjawrence mentioned above (g:FerretJob
and g:FerretNvim
) to 0
let g:is_win = has('win32') || has('win64')
let g:is_nvim = has('nvim')
if g:is_win && g:is_nvim
let g:FerretNvim = 0
let g:FerretJob = 0
endif
Tested using the following:
- version:
NVIM v0.5.0-552-g980b12edb
- os:
Windows 10
- term:
Powershell v5.1.17763.1007
- gui:
nvim-qt
from ferret.
I had same problem with jobstop
call on MacOS 10.4, nvim 0.5.0.
Changing argument from
call jobstop(l:job)
to
call jobstop(str2nr(l:job, 10))
helped me.
I don't know if it a proper solution (I'm really bad in vimscript), but if so, I can make a PR.
from ferret.
This happens on MacOS Catalina 10.15.7, nvim 0.4.4, python 3.9.5. And the suggested solutions do not work :(
from ferret.
@mhoonjeon there is another issue with a similar symptom caused by an upgrade of rg #78 maybe some of the workarounds can help.
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.