LSP: Don't show function in modeline.
This commit is contained in:
parent
bc7b3e5b65
commit
994efd185c
|
@ -56,7 +56,9 @@
|
||||||
"Change some settings after entering lsp-mode."
|
"Change some settings after entering lsp-mode."
|
||||||
;; Rebind C-: to LSP equivalent.
|
;; Rebind C-: to LSP equivalent.
|
||||||
(when (equal major-mode 'c++-mode)
|
(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)
|
:bind ("C-c C-f" . lsp-execute-code-action)
|
||||||
:hook ((c++-mode . lsp)
|
:hook ((c++-mode . lsp)
|
||||||
(c-mode . lsp)
|
(c-mode . lsp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user