daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
718 stars 56 forks source link

Persistent configuration #27

Closed felmab closed 6 years ago

felmab commented 6 years ago

I successfully followed these instructions to configure the font and disable the external tabline. I was unable to add these declarations in $HOME/.config/nvim/ginit.vim so as they are automatically fired when neovim-gtk is open, though. Could you give me some pointers?

daa84 commented 6 years ago

Can't say, for me it just works 😄 Can you provide some details? font and tabline does not work both?

felmab commented 6 years ago

I does work when I call these directly from Vim command line, but I get an error when I put them in ~/.config/nvim/ginit.vim:

if exists('g:GtkGuiLoaded')
    call rpcnotify(1, 'Gui' 'Font', 'PragmataPro 12')
endif

nvim_error

daa84 commented 6 years ago

'Gui', 'Font', you forget ','

felmab commented 6 years ago

Correct! Busy week ^^