From 64729a7b31305425c29a05aa404679e33f653c5e Mon Sep 17 00:00:00 2001 From: Ta Quang Trung Date: Wed, 1 May 2024 23:56:46 +0800 Subject: [PATCH] join multiple lines of an error description into one line --- lsp-treemacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp-treemacs.el b/lsp-treemacs.el index e443819..a25aad2 100644 --- a/lsp-treemacs.el +++ b/lsp-treemacs.el @@ -941,7 +941,7 @@ With prefix 2 show both." (propertize (format "[%s]" source?) 'face 'shadow) "") - message + (string-join (mapcar #'string-trim (string-lines message)) ", ") (propertize (format "(%s:%s)" line character) 'face 'lsp-details-face)) :icon-literal (lsp-treemacs--diagnostic-icon severity?)