Closed frapples closed 7 years ago
Segments need to be defined as a mode line evaluation string, so Spaceline comes with some segments predefined, which can be called, for example
(spaceline-all-the-icons-theme 'buffer-encoding 'remote-host)
Otherwise, you want an eval expression, like
(spaceline-all-the-icons-theme '("%e" (:eval (format "hello %s"))))
Hope this helps 🙂
Thank you! :smile:
I want to add a segments displaying file encoding:
But the code can not work.
But I try:
Work well.