1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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 NFM:h14
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
|