LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.17k forks source link

I am having a few issues that I assume are related to this start up error: No C compiler found! "cc", "gcc", "clang", "cl", "zig" are not executable #280

Open wakywayne opened 1 year ago

wakywayne commented 1 year ago

By commenting out like you recommend in your youtube series, I have narrowed down the console error to be in tree sitter file

Problems I am having:

  1. I get no command mode completions
  2. Word search never gives results while file search works
  3. LspInstallInfo does nothing lsp is unkown command error
  4. Also I have a plugin folder that doesn't seem to be in your git repository

I am using cmder as my console if that has any relevance once again the error on start-up is:

No C compiler found! "cc", "gcc",  "clang", "cl", "zig" are not executable

Here is the error I get when I try to use word search:

Screenshooooooooooooooot 2022-12-16 210642

wakywayne commented 1 year ago

Can anyone help me 😢

Rishabh672003 commented 1 year ago

@wakywayne so is gcc installed can you do gcc in your terminal if not install it

Thijsvdberg commented 1 year ago

I had this same issue. I'm on windows tho. It went away after installing clang with choco install llvm and adding this line to treesitter.lua:

require 'nvim-treesitter.install'.compilers = { "clang" }