From 994efd185c341ba9bd60db86d808b74366e135ac Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 3 Jun 2021 17:06:09 +0200 Subject: [PATCH] LSP: Don't show function in modeline. --- init.d/programming/lsp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.d/programming/lsp.el b/init.d/programming/lsp.el index c0886b7..8cad93c 100644 --- a/init.d/programming/lsp.el +++ b/init.d/programming/lsp.el @@ -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)