Neovim-from-scratch icon indicating copy to clipboard operation
Neovim-from-scratch copied to clipboard

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

Open wakywayne opened this issue 2 years ago • 3 comments

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 avatar Dec 15 '22 19:12 wakywayne

Can anyone help me 😢

wakywayne avatar Dec 18 '22 01:12 wakywayne

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

Rishabh672003 avatar Dec 18 '22 10:12 Rishabh672003

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" }

Thijsvdberg avatar Jul 01 '23 14:07 Thijsvdberg