Closed dangom closed 3 years ago
Didn't know that. Why does it work with a string then?
That's a good question. But I noticed the issue when I opened Treemacs and it complained of a wrong argument type. I suppose that's because Treemacs attempts to add some info to the modeline by modifying a list, and then fails because nano-emacs sets it to a string. Note that the default value of the formatting is indeed a list, so I just keep it that way.
Even though string works, it breaks modes such as treemacs.