summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/ginit.vim
blob: fb395904c38717c6e15524c9d17be7d8bb424369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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