Emacs: LSP: Change faces for semantic highlighting.

This commit is contained in:
tastytea 2020-12-01 19:47:50 +01:00
parent 319c563319
commit 917b2fa74b
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-12-01T18:20:29+0100>
;; Time-stamp: <2020-12-01T19:40:27+0100>
;;; Commentary:
@ -30,7 +30,8 @@
:italic t))))
(lsp-face-semhl-parameter ((t (:inherit font-lock-variable-name-face
:italic t :underline t))))
(lsp-face-semhl-member ((t (:inherit default))))
(lsp-face-semhl-member ((t (:inherit default :weight semibold))))
(lsp-face-semhl-enum ((t (:inherit font-lock-type-face))))
:config (progn
(setq lsp-clients-clangd-args '("--compile-commands-dir=build"))
;; Add “-clang-tidy” to clangd args if the version supports it.