Don't ask for project root; look fort compile_commands in build dir.
This commit is contained in:
parent
e965cd88e7
commit
6ff34a0518
4
init.el
4
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-10-08T13:44:40+00:00>
|
;; Time-stamp: <2019-10-08T16:15:13+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; Requires at least Emacs 24.3.
|
;; Requires at least Emacs 24.3.
|
||||||
|
@ -459,6 +459,8 @@ With argument, do this that many times."
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:custom
|
:custom
|
||||||
(lsp-prefer-flymake nil) ; Disable flymake.
|
(lsp-prefer-flymake nil) ; Disable flymake.
|
||||||
|
(lsp-auto-guess-root t) ; Don't ask for project root.
|
||||||
|
(lsp-clients-clangd-args '("-compile-commands-dir=build"))
|
||||||
:hook
|
:hook
|
||||||
(c++-mode . lsp)
|
(c++-mode . lsp)
|
||||||
(c-mode . lsp)
|
(c-mode . lsp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user