From 262e42109cfc26e1d6a520310f53c651dc566b8b Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sat, 23 Mar 2019 14:02:29 +0800 Subject: [PATCH] Fix for run hooks with args in lsp indicator. --- doom-modeline-segments.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index e1d83a7..85fe768 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1536,7 +1536,7 @@ mouse-3: Describe current input method") ;; (defvar doom-modeline--lsp nil) -(defun doom-modeline-update-lsp () +(defun doom-modeline-update-lsp (&rest _) "Update `lsp-mode' status." (setq doom-modeline--lsp (concat