Skip to content
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

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 this issue Dec 15, 2022 · 3 comments

Comments

@wakywayne
Copy link

wakywayne commented Dec 15, 2022

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
Copy link
Author

Can anyone help me 😢

@Rishabh672003
Copy link
Member

Rishabh672003 commented Dec 18, 2022

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

@Thijsvdberg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants