From cc66ef0f37004bdb4419b8df28827a007ad95b63 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Fri, 5 Jan 2018 18:43:57 +0100 Subject: =?UTF-8?q?Give=20=E2=80=98lsp-ui-mode=E2=80=99=20a=20docstring=20?= =?UTF-8?q?that=20describes=20what=20the=20mode=20function=20does?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lsp-ui.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lsp-ui.el b/lsp-ui.el index af35076..14fd29c 100644 --- a/lsp-ui.el +++ b/lsp-ui.el @@ -67,7 +67,12 @@ If the path is not in the workspace, it returns the original PATH." (defvar lsp-ui-mode-map (make-sparse-keymap)) (define-minor-mode lsp-ui-mode - "Minor mode that contains a series of useful UI integrations for lsp-mode." + "Toggle language server UI mode on or off. +‘lsp-ui-mode’ is a minor mode that contains a series of useful UI +integrations for ‘lsp-mode’. With a prefix argument ARG, enable +language server UI mode if ARG is positive, and disable it +otherwise. If called from Lisp, enable the mode if ARG is +omitted or nil, and toggle it if ARG is ‘toggle’." :init-value nil :group lsp-ui (lsp-ui--toggle lsp-ui-mode)) -- cgit v1.2.3