I want to use Emacs LSP c-mode, but I'm getting the error 'Command "clangd" is not present on the path'.
I did the following steps to install:
- Get lsp package from melpa-stable
 - Get company-lsp from melpa-stable
 - Get ccls using homebrew
 Add the following to my .emacs file:
(require 'lsp-mode) (add-hook 'rust-mode-hook #'lsp) (add-hook 'c-mode-hook #'lsp) (require 'company-lsp) (push 'company-lsp company-backends)
I have installed llvm (which should include clang) using homebrew and added its path as an environment variable.
Does anybody know why I get this error?