Fix my nickname color in Circe buffers

This commit is contained in:
Tom Willemse 2016-02-08 01:00:04 +01:00
parent a7d9aa0191
commit 90b0f4e509

View file

@ -60,8 +60,8 @@ wanted it. So now I use Circe.
(when (> len oni:circe-longest-nick)
(setq oni:circe-longest-nick len)
(setq-local lui-fill-type (make-string (+ len 3) ?\ )))
(format "%s %s" (s-pad-left oni:circe-longest-nick " " nick)
(plist-get keywords :body))))
(plist-put keywords :nick (s-pad-left oni:circe-longest-nick " " nick))
(lui-format "{nick} {body}" keywords)))
#+END_SRC
I use this formatter both for messages I send myself and incoming