From 4385c252eb461a0ec9dbf9569a8f9ef7f0664289 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 16 Jul 2024 16:12:12 +0100 Subject: Initial commit --- neovim/.config/nvim/ginit.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 neovim/.config/nvim/ginit.vim (limited to 'neovim/.config/nvim/ginit.vim') diff --git a/neovim/.config/nvim/ginit.vim b/neovim/.config/nvim/ginit.vim new file mode 100644 index 0000000..fb39590 --- /dev/null +++ b/neovim/.config/nvim/ginit.vim @@ -0,0 +1,15 @@ +if exists('g:GtkGuiLoaded') + call rpcnotify(1, 'Gui', 'Font', 'Iosevka SS10 12') + call rpcnotify(1, 'Gui', 'Option', 'Tabline', 1) +else + GuiFont Iosevka SS10:h12 +endif + +if has('autocmd') && exists('g:GtkGuiLoaded') + autocmd FileType c call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, CLIK') + autocmd FileType cpp call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, CLIK') + autocmd FileType go call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, CLIK') + autocmd FileType python call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, CLIK') + autocmd FileType rust call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, CLIK') + autocmd FileType javascript call rpcnotify(1, 'Gui', 'FontFeatures', 'calt off, JSPT') +endif -- cgit v1.2.3