Giter Site home page Giter Site logo

Comments (5)

Yggdroot avatar Yggdroot commented on July 18, 2024 1

Add --no-messages.

from leaderf.

dreamerlzl avatar dreamerlzl commented on July 18, 2024

and if you directly type rg under test, you can clearly see there is a permission denied error while the matches for other accessiable files are still working

from leaderf.

Yggdroot avatar Yggdroot commented on July 18, 2024

Can not reproduce.
I can always get

Messages maintainer: The Vim Project                                                                                                                                                         
File "/home/yggdroot/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/cli.py", line 698, in input^@    callback()^@  File "/home/yggdroot/.vim/plugged/LeaderF/autoload/leaderf/python/le
aderf/manager.py", line 70, in deco^@    func(self, *args, **kwargs)^@  File "/home/yggdroot/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2852, in _workInIdle^@   
 raise self._read_content_exception[1]^@  File "/home/yggdroot/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 2825, in _readContent^@    for line in content:^@  File
 "/home/yggdroot/.vim/plugged/LeaderF/autoload/leaderf/python/leaderf/asyncExecutor.py", line 209, in __next__^@    return next(self._g)^@  File "/home/yggdroot/.vim/plugged/LeaderF/autoloa
d/leaderf/python/leaderf/asyncExecutor.py", line 106, in read^@    raise Exception(lfBytes2Str(err) + lfBytes2Str(err, encoding))^@Exception: test.txt: Permission denied (os error 13)^@test
.txt: Permission denied (os error 13)

from leaderf.

dreamerlzl avatar dreamerlzl commented on July 18, 2024

ok, sorry for the bothering. It seems that this error is a kind: echo message defined by :h ui-messages and is filtered out by my noice plugin.

from leaderf.

dreamerlzl avatar dreamerlzl commented on July 18, 2024

Still, can we show other matches despite the permission denied error?
Because if you execute the rg in terminal outside neovim, it will still show other accessible matches.

from leaderf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.