I have this lines for my statusline
set statusline=%{&paste?'\ \ paste\ ':''}
set statusline+=\ %{expand('%:~:.')!=#''?expand('%:~:.'):'[No\ Name]'}
set statusline+=%{&readonly?'\ \ [RO]':!&modifiable?'\ \ [RO]':''}
I removed other parts for avoiding useless complexity. As you can see, I need to put two spaces before [RO] in the third/last line when I only get one in output. Why is that?
Edit: My version is NVIM v0.3.0-dev