Git Product home page Git Product logo

Comments (6)

Kohirus avatar Kohirus commented on August 23, 2024 1

你现在更新一下插件试试

from cppassist.nvim.

jyfzh avatar jyfzh commented on August 23, 2024 1

ok了😎

from cppassist.nvim.

Kohirus avatar Kohirus commented on August 23, 2024

使用 which fd 或者 which fdfind 命令可以找到 fd 吗?

from cppassist.nvim.

jyfzh avatar jyfzh commented on August 23, 2024

可以找到,而且fd正常使用
fd是使用scoop安装的
image

from cppassist.nvim.

Kohirus avatar Kohirus commented on August 23, 2024

应该是平台的问题,目前只在 Linux 平台测试过,Windows 平台下无法找到 fd 的原因应该是如下代码导致的:

" check fd binary name (needed because it's called fdfdind on ubuntu)
" Then check if it's installed
if system('which fd')[0] ==# '/'
    let g:cppassist_fd_binary_name = 'fd'
elseif system('which fdfind')[0] ==# '/'
    let g:cppassist_fd_binary_name = 'fdfind'
else
    echoerr "fd not found, please install it"
    finish
endif

刚才我去看了 telescope 插件检测 fd 路径的相关代码,它会对 windows 平台做出相应处理,所以 telescope 是可以找到 fd 的。
由于我没有 windows 平台下的 neovim 环境,因此需要你在 neovim 中输入 :echo executable('fd'):echo has('win32') 看看结果是什么。

from cppassist.nvim.

jyfzh avatar jyfzh commented on August 23, 2024

结果是这样的

:echo executable('fd')
1
:echo has('win32')
1

from cppassist.nvim.

Related Issues (2)

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.