LSP: Don't show function in modeline.

This commit is contained in:
tastytea 2021-06-03 17:06:09 +02:00
parent bc7b3e5b65
commit 994efd185c
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,9 @@
"Change some settings after entering lsp-mode."
;; Rebind C-: to LSP equivalent.
(when (equal major-mode 'c++-mode)
(bind-key "C-:" #'lsp-clangd-find-other-file 'c++-mode-map))))
(bind-key "C-:" #'lsp-clangd-find-other-file 'c++-mode-map))
;; Don't show function name in modeline.
(which-function-mode -1)))
:bind ("C-c C-f" . lsp-execute-code-action)
:hook ((c++-mode . lsp)
(c-mode . lsp)