3

I am currently using vim-airline with Neovim 0.5.0 for writing small programs although it bothers me that the % symbol and ≡ symbol overlaps with each other at the bottom right.

An example is:

enter image description here

Resizing the window does not help. Is there a way to resize that exact part of the bar so that these two symbols do not converge?

romainl
  • 186,200
  • 21
  • 280
  • 313
hypadr1v3
  • 543
  • 4
  • 26

1 Answers1

4

You can try let g:airline_symbols.colnr = ' '.

I previously suffered exactly the same problem as you, and I worked it out with the solution above.

I hope this works. Actually, the ' %:' is the column symbol, the maxline symbol occupies two spaces, thus overlapping with the symbol %.

ouflak
  • 2,458
  • 10
  • 44
  • 49
joshua
  • 41
  • 3
  • This seems like a good answer! I have switched to linux now though (not because of this issue) and I've not had this issue ever since so I can't really mark this answer as solved if I can't test it. Thanks for trying! – hypadr1v3 Nov 19 '21 at 10:47
  • 1
    I had to add in an extra check `if !exists('g:airline_symbols')` before it would work for me. Setting it to a value if it did not exist with `let g:airline_symbols = {}`. Sourced from [Github Issue #2381](https://github.com/vim-airline/vim-airline/issues/2381#issuecomment-940825425). – BYC Jul 06 '22 at 18:55