diff --git a/init.d/programming/lsp.el b/init.d/programming/lsp.el index d1c738b..7371b78 100644 --- a/init.d/programming/lsp.el +++ b/init.d/programming/lsp.el @@ -1,6 +1,6 @@ ;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-05-24T22:49:17+0200> +;; Time-stamp: <2020-07-07T05:30:48+0200> ;;; Commentary: @@ -18,8 +18,9 @@ :diminish lsp-mode :custom ((lsp-prefer-flymake nil) ; Disable flymake. (lsp-auto-guess-root t) ; Don't ask for project root. - (lsp-eldoc-render-all t) ; Display all eldoc information. - (lsp-restart 'auto-restart)) ; Automatically restart server. + (lsp-eldoc-render-all t) + (lsp-restart 'auto-restart) + (lsp-enable-semantic-highlighting t)) ; Needs clangd 11(?). :config (progn (setq lsp-clients-clangd-args '("--compile-commands-dir=build")) ;; Add “-clang-tidy” to clangd args if the version supports it.