Skip to content

Commit

Permalink
support plaintext documentation format (#2765)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho authored Apr 7, 2021
1 parent cbf0147 commit b7428ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,8 @@ Changes take effect only when a new session is started."
(vala-mode . "vala")
(actionscript-mode . "actionscript")
(d-mode . "d")
(zig-mode . "zig"))
(zig-mode . "zig")
(text-mode . "plaintext"))
"Language id configuration.")

(defvar lsp--last-active-workspaces nil
Expand Down Expand Up @@ -3275,7 +3276,7 @@ disappearing, unset all the variables related to it."
:json-false)
(lsp-enable-snippet t)
(t :json-false)))
(documentationFormat . ["markdown"])
(documentationFormat . ["markdown" "plaintext"])
;; Remove this after jdtls support resolveSupport
(resolveAdditionalTextEditsSupport . t)
(resolveSupport
Expand Down

0 comments on commit b7428ad

Please sign in to comment.