Skip to content

Commit 9b5d2ef

Browse files
committed
Use arrows with the same length in the nREPL messages buffer
1 parent af93884 commit 9b5d2ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nrepl-client.el

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,14 +1200,14 @@ operations.")
12001200
(setq-local electric-indent-chars nil)
12011201
(setq-local comment-start ";")
12021202
(setq-local comment-end "")
1203-
(setq-local paragraph-start "(--->\\|(<-")
1204-
(setq-local paragraph-separate "(<-"))
1203+
(setq-local paragraph-start "(-->\\|(<--")
1204+
(setq-local paragraph-separate "(<--"))
12051205

12061206
(defun nrepl-decorate-msg (msg type)
12071207
"Decorate nREPL MSG according to its TYPE."
12081208
(pcase type
1209-
(`request (cons '---> (cdr msg)))
1210-
(`response (cons '<- (cdr msg)))))
1209+
(`request (cons '--> (cdr msg)))
1210+
(`response (cons '<-- (cdr msg)))))
12111211

12121212
(defun nrepl-log-message (msg type)
12131213
"Log the nREPL MSG.
@@ -1256,7 +1256,7 @@ Set this to nil to prevent truncation."
12561256
(defun nrepl--pp (object &optional foreground)
12571257
"Pretty print nREPL OBJECT, delimited using FOREGROUND."
12581258
(if (not (and (listp object)
1259-
(memq (car object) '(<- ---> dict))))
1259+
(memq (car object) '(<-- --> dict))))
12601260
(progn (when (stringp object)
12611261
(setq object (substring-no-properties object)))
12621262
(pp object (current-buffer))

0 commit comments

Comments
 (0)