Only start lsp-mode if cland is found.

This commit is contained in:
tastytea 2019-10-09 20:41:24 +02:00
parent 3e7250661d
commit 4c8679ab9d
1 changed files with 1 additions and 0 deletions

View File

@ -457,6 +457,7 @@ With argument, do this that many times."
(unless slow-computer
;; Client for Language Server Protocol servers.
(use-package lsp-mode
:if (executable-find "clangd")
:custom
(lsp-prefer-flymake nil) ; Disable flymake.
(lsp-auto-guess-root t) ; Don't ask for project root.