-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
找不到fd #2
Comments
使用 |
应该是平台的问题,目前只在 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 的。 |
结果是这样的 :echo executable('fd')
1 :echo has('win32')
1 |
你现在更新一下插件试试 |
ok了😎 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS: windows11
nvim: v0.8.3
fd: 8.7.0
报错:
同样依赖fd的telescope.nvim检测到fd了,但是cppassist.nvim检测不到,也许是平台问题?希望提供自定义fd路径的选项
The text was updated successfully, but these errors were encountered: