我对 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.
Run Code Online (Sandbox Code Playgroud)
这是我第二次尝试与造树者打交道。第一次我下载了 GCC 来尝试解决这个问题。没有任何效果,所以我决定删除整个内容并下载 kickstart 来开始配置过程。我需要一些帮助来解决这个问题,因为我还不熟悉 Vim。
编辑:这是:checkhealth nvim-treesitter给出以下内容的命令。
nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
- WARNING: `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
- OK: `node` found v16.14.2 (only …Run Code Online (Sandbox Code Playgroud)