From e72b1a557614f30de2915910c55441af985ad2e9 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Thu, 14 Nov 2024 17:04:38 +0000 Subject: Neovide settings --- neovim/.config/nvim/ginit.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'neovim/.config/nvim') diff --git a/neovim/.config/nvim/ginit.vim b/neovim/.config/nvim/ginit.vim index fb39590..bdd2320 100644 --- a/neovim/.config/nvim/ginit.vim +++ b/neovim/.config/nvim/ginit.vim @@ -1,8 +1,14 @@ if exists('g:GtkGuiLoaded') call rpcnotify(1, 'Gui', 'Font', 'Iosevka SS10 12') call rpcnotify(1, 'Gui', 'Option', 'Tabline', 1) +elseif exists("g:neovide") + set guifont=Iosevka\ NFM:h14 + let g:neovide_cursor_animation_length = 0 + let g:neovide_position_animation_length = 0 + let g:neovide_scroll_animation_length = 0 + let g:neovide_theme = 'auto' else - GuiFont Iosevka SS10:h12 + GuiFont Iosevka NFM:h14 endif if has('autocmd') && exists('g:GtkGuiLoaded') -- cgit v1.2.3