Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lspce.el
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
:group 'lspce
:type 'boolean)

(defcustom lspce-eldoc-display-backend "[lspce]"
"If non-nil, display this variable above the documentation as a header"
:group 'lspce
:type '(choice string (const nil)))

(defcustom lspce-enable-flymake t
"If non-nil, enable flymake."
:group 'lspce
Expand Down Expand Up @@ -1267,7 +1272,8 @@ matches any of the TRIGGER-CHARACTERS."
((or signature content)
(setq document (concat signature content))))
(when document
(setq backend (propertize "[lspce]\n" 'face 'lspce-eldoc-backend-face))
(when lspce-eldoc-display-backend
(setq backend (propertize (concat lspce-eldoc-display-backend "\n") 'face 'lspce-eldoc-backend-face)))
(funcall callback (concat backend document))))))

;;; diagnostics
Expand Down