]> git.eshelyaron.com Git - emacs.git/commitdiff
Format documentation of signature parameters
authorMichal Krzywkowski <k.michal@zoho.com>
Sat, 17 Nov 2018 11:12:31 +0000 (12:12 +0100)
committerMichal Krzywkowski <k.michal@zoho.com>
Sat, 17 Nov 2018 11:12:31 +0000 (12:12 +0100)
* eglot.el (eglot--sig-info): Call `eglot--format-markup` on parameter
  :documentation.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/144

lisp/progmodes/eglot.el

index 2c0b22e5002dfeed984b4b2c88e049e5b00f76b6..3ba1b87d8077d67f6ffd7cf9e6cbeb6dd85d2954 100644 (file)
@@ -1665,7 +1665,7 @@ is not active."
                     (insert "\n"
                             (propertize
                              label 'face 'eldoc-highlight-function-argument)
-                            ": " documentation))))
+                            ": " (eglot--format-markup documentation)))))
               (buffer-string)))
    when moresigs concat "\n"))