Only start lsp-mode if cland is found.
This commit is contained in:
parent
3e7250661d
commit
4c8679ab9d
1
init.el
1
init.el
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue