Skip to content

Commit

Permalink
Merge pull request #751 from zonuexe/feature/custom-modeline
Browse files Browse the repository at this point in the history
Add lsp-bridge-mode-lighter to customize lighter
  • Loading branch information
manateelazycat authored Oct 24, 2023
2 parents 1d70764 + 9cc7b4e commit f8c71ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -1899,11 +1899,16 @@ Default is `bottom-right', you can choose other value: `top-left', `top-right',

(defvar lsp-bridge-auto-format-code-timer nil)

(defcustom lsp-bridge-mode-lighter " LSPB"
"Mode line lighter for LSP Bridge Mode."
:type 'string
:group 'lsp-bridge)

;;;###autoload
(define-minor-mode lsp-bridge-mode
"LSP Bridge mode."
:keymap lsp-bridge-mode-map
:lighter " LSPB"
:lighter lsp-bridge-mode-lighter
:init-value nil
(if lsp-bridge-mode
(lsp-bridge--enable)
Expand Down

0 comments on commit f8c71ae

Please sign in to comment.