Emacs: Automatically restart lsp-server.
This commit is contained in:
parent
7d156ec586
commit
54c1b466cf
|
@ -1,6 +1,6 @@
|
||||||
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
|
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-02-26T04:48:29+0100>
|
;; Time-stamp: <2020-03-09T15:04:37+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
||||||
(lsp-prefer-flymake nil) ; Disable flymake.
|
(lsp-prefer-flymake nil) ; Disable flymake.
|
||||||
(lsp-auto-guess-root t) ; Don't ask for project root.
|
(lsp-auto-guess-root t) ; Don't ask for project root.
|
||||||
(lsp-eldoc-render-all t) ; Display all eldoc information.
|
(lsp-eldoc-render-all t) ; Display all eldoc information.
|
||||||
|
(lsp-restart 'auto-restart) ; Automatically restart server.
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(setq lsp-clients-clangd-args '("--compile-commands-dir=build"))
|
(setq lsp-clients-clangd-args '("--compile-commands-dir=build"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user