Neovim TreeSitter 没有返回 C 编译器错误

问题描述 投票:0回答:0

我对 neovim 和 vim 生态系统还很陌生。我仍在尝试使用自己的配置文件开始,但是,从 https://github.com/nvim-lua/kickstart.nvim 下载 Kickstart 时遇到问题。我把init.lua文件复制到自己的文件中运行。它下载了所有正确的东西,但是,treesitter 插件似乎有问题。当我在我的

:so
文件上运行
init.lua
时,它给出了错误。

Re-sourcing your config is not supported with lazy.nvim
Error detected while processing :source (no file):
No C compiler found! "cc", "gcc", "clang", "cl", "zig" are not executable.

这是我第二次尝试对付treesetter。第一次我下载了 GCC 来尝试解决这个问题。没有任何效果,所以我决定删除整个东西并下载 kickstart 以开始配置过程。由于我还不熟悉 Vim,因此我需要一些帮助来解决这个问题。

vim lua neovim
© www.soinside.com 2019 - 2024. All rights reserved.