Совместимость с Neovim

This commit is contained in:
Andrei Astafev 2022-01-04 15:21:07 +03:00
parent 979bc8f385
commit aa8c8ab374
5 changed files with 14 additions and 4 deletions

View File

@ -242,6 +242,8 @@ function! plug#begin(...)
let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p'))
elseif exists('g:plug_home')
let home = s:path(g:plug_home)
elseif has('nvim')
let home = stdpath('data') . '/plugged'
elseif !empty(&rtp)
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
else

View File

@ -1 +1,3 @@
set guifont=Iosevka\ Prog\ 18
if has('gui_running') && !has('nvim')
set guifont=Iosevka\ Prog\ 18
endif

View File

@ -1 +1,3 @@
set guifont=Iosevka\ Prog\ 18
if has('gui_running') && !has('nvim')
set guifont=Iosevka\ Prog\ 18
endif

View File

@ -1 +1,3 @@
set guifont=Iosevka\ Prog\ 10
if has('gui_running') && !has('nvim')
set guifont=Iosevka\ Prog\ 10
endif

4
vimrc
View File

@ -258,7 +258,9 @@ set guioptions-=L
set guioptions-=e
" Шрифт в графическом режиме "
set guifont=Iosevka\ Fixed\ SS08\ 10
if has('gui_running') && !has('nvim')
set guifont=Iosevka\ Fixed\ SS08\ 10
endif
" Количество отображаемых строк над/под курсором "
set scrolloff=6