Open davidsierradz opened 6 years ago
Looks more like bug in neovim, as it does not process option change properly after application starts. Possible solution is just send some event (think resize) to neovim when this option changed, so this force ui update. Or just simple put this option before font change option 😆
Stack versions:
OS: Manjaro i3 17.1.1 GTK: 3.22.26+47+g3a1a7135a2-3 Neovim: v0.2.3-385-gb616ef9b2 Neovim-GTK: master
Minimal setup:
init.vim
ginit.vim:
Open nvim-gtk (does not show tabline):![2018-01-09-152503_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741810-ec4a6fa6-f551-11e7-8a73-e09a4336b6c5.png)
Type Ex command![2018-01-09-152510_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741811-ec66ae46-f551-11e7-9cb9-3a42c0295811.png)
:help
(the command line gets over-rendered by the statusline and the tabline is rendered):See I am writing![2018-01-09-152521_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741812-ec7ccb54-f551-11e7-9530-686c63e6be95.png)
:help
again (notice the statusline):I open the command-line window![2018-01-09-152545_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741813-ec979a38-f551-11e7-9c60-f0d7ee57cfef.png)
q:
:Change the font:![2018-01-09-152551_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741814-ecb6e4ba-f551-11e7-89b6-8d2e5ed8ec7c.png)
All is good!:![2018-01-09-152559_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741815-ecd1ef08-f551-11e7-8644-5dbc5894b9eb.png)
If I resize the neovim-gtk window also fix the rendering, like changing the font size:![2018-01-09-152803_1366x768_scrot](https://user-images.githubusercontent.com/9190258/34741817-ed03a12e-f551-11e7-9484-2bee23be8b75.png)