Giter Site home page Giter Site logo

rgExpl.py line 955 about leaderf HOT 5 CLOSED

qiushihao avatar qiushihao commented on July 18, 2024
rgExpl.py line 955

from leaderf.

Comments (5)

Yggdroot avatar Yggdroot commented on July 18, 2024

复现不了。

from leaderf.

qiushihao avatar qiushihao commented on July 18, 2024

嗯嗯,可能是我描述的不够清楚,我把过程复现一下:
首先在vim安装目录里打开tutor.sv

IMG_3046(20220829-114725)

然后搜索“radera” 这个单词,加不加其他参数都行,不影响复现
IMG_3047(20220829-114733)

然后可以看到下面的结果里,在“radera” 同一行里,有一些无法显示的字符
IMG_3048

然后用Q把结果导入quickfix,就会报错了
IMG_3049(20220829-114752)

from leaderf.

Yggdroot avatar Yggdroot commented on July 18, 2024

奇怪,我搜出来的是runtime/tutor/tutor.sv:267: 2. Fr att radera frn markren, 那些非ASCII字符直接消失,所以没报错,不知道是不是rg版本的问题。
我的是

rg --version
ripgrep 12.1.1
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)

from leaderf.

Yggdroot avatar Yggdroot commented on July 18, 2024

不是rg的问题,在命令行下用没问题。不知道为什么我的vim中,那些非ascii字符为什么被过滤掉了。

from leaderf.

Yggdroot avatar Yggdroot commented on July 18, 2024

如果 json.dumps(items, ensure_ascii=False)可以解决问题,帮忙提个PR,谢谢。

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.