This commit is contained in:
Nachuan Tang
2023-02-10 01:36:34 -05:00
parent 40a20526e1
commit 62c8c4820d
6 changed files with 441 additions and 7 deletions
+5
View File
@@ -2,6 +2,10 @@
" Environment {
" get current neovim version
let g:vim_version = -1
" dotfile location
let g:mydotfiles_directory = expand('~/.dotfiles/')
let after_directory = g:mydotfiles_directory . 'config/vi-plugs/coc-theme/after/'
if has('nvim')
let g:vim_type = 'nvim'
let g:vim_version = matchstr(execute('version'), 'NVIM v\zs[^\n]*')
@@ -13,6 +17,7 @@
let g:dotfile_path = '~/.dotfiles/'
set runtimepath^=~/.vim runtimepath+=~/.vim/after
execute('set runtimepath^=' . after_directory)
let &packpath=&runtimepath
" The default leader is '\', but many people prefer ',' as it's in a standard