Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
96 lines
3.1 KiB
VimL
96 lines
3.1 KiB
VimL
function! dein#min#_init() abort
|
|
let g:dein#name = ''
|
|
let g:dein#plugin = {}
|
|
let g:dein#_cache_version = 410
|
|
let g:dein#_plugins = {}
|
|
let g:dein#_multiple_plugins = []
|
|
let g:dein#_base_path = ''
|
|
let g:dein#_cache_path = ''
|
|
let g:dein#_runtime_path = ''
|
|
let g:dein#_hook_add = ''
|
|
let g:dein#_ftplugin = {}
|
|
let g:dein#_called_lua = {}
|
|
let g:dein#_off1 = ''
|
|
let g:dein#_off2 = ''
|
|
let g:dein#_vimrcs = []
|
|
let g:dein#_block_level = 0
|
|
let g:dein#_event_plugins = {}
|
|
let g:dein#_on_lua_plugins = {}
|
|
let g:dein#_is_sudo = $SUDO_USER !=# '' && $USER !=# $SUDO_USER
|
|
\ && $HOME !=# expand('~'.$USER)
|
|
\ && $HOME ==# expand('~'.$SUDO_USER)
|
|
let g:dein#_progname = fnamemodify(v:progname, ':r')
|
|
let g:dein#_init_runtimepath = &runtimepath
|
|
let g:dein#_loaded_rplugins = v:false
|
|
|
|
if get(g:, 'dein#lazy_rplugins', v:false)
|
|
" Disable remote plugin loading
|
|
let g:loaded_remote_plugins = 1
|
|
endif
|
|
|
|
augroup dein
|
|
autocmd!
|
|
autocmd FuncUndefined *
|
|
\ if stridx(expand('<afile>'), 'remote#') != 0 |
|
|
\ call dein#autoload#_on_func(expand('<afile>')) |
|
|
\ endif
|
|
autocmd BufRead *? call dein#autoload#_on_default_event('BufRead')
|
|
autocmd BufNew,BufNewFile *? call dein#autoload#_on_default_event('BufNew')
|
|
autocmd VimEnter *? call dein#autoload#_on_default_event('VimEnter')
|
|
autocmd FileType *? call dein#autoload#_on_default_event('FileType')
|
|
autocmd BufWritePost *.lua,*.vim,*.toml,vimrc,.vimrc
|
|
\ call dein#util#_check_vimrcs()
|
|
augroup END
|
|
augroup dein-events | augroup END
|
|
|
|
if !exists('##CmdUndefined') | return | endif
|
|
autocmd dein CmdUndefined *
|
|
\ call dein#autoload#_on_pre_cmd(expand('<afile>'))
|
|
if has('nvim')
|
|
lua <<END
|
|
table.insert(package.loaders, 1, (function()
|
|
return function(mod_name)
|
|
if vim.g['dein#_on_lua_plugins'][mod_name] then
|
|
vim.fn['dein#autoload#_on_lua'](mod_name)
|
|
end
|
|
return nil
|
|
end
|
|
end)())
|
|
END
|
|
endif
|
|
endfunction
|
|
function! dein#min#_load_cache_raw(vimrcs) abort
|
|
let g:dein#_vimrcs = a:vimrcs
|
|
let cache = get(g:, 'dein#cache_directory', g:dein#_base_path)
|
|
\ .'/cache_' . g:dein#_progname
|
|
let time = getftime(cache)
|
|
if !empty(filter(map(copy(g:dein#_vimrcs),
|
|
\ { _, val -> getftime(expand(val)) }), { _, val -> time < val }))
|
|
return [{}, {}]
|
|
endif
|
|
return has('nvim') ? json_decode(readfile(cache))
|
|
\ : js_decode(readfile(cache)[0])
|
|
endfunction
|
|
function! dein#min#load_state(path, ...) abort
|
|
if !exists('#dein')
|
|
call dein#min#_init()
|
|
endif
|
|
let sourced = a:0 > 0 ? a:1 : has('vim_starting') &&
|
|
\ (!exists('&loadplugins') || &loadplugins)
|
|
if (g:dein#_is_sudo || !sourced) | return 1 | endif
|
|
let g:dein#_base_path = expand(a:path)
|
|
|
|
let state = get(g:, 'dein#cache_directory', g:dein#_base_path)
|
|
\ . '/state_' . g:dein#_progname . '.vim'
|
|
if !filereadable(state) | return 1 | endif
|
|
try
|
|
execute 'source' fnameescape(state)
|
|
catch
|
|
if v:exception !=# 'Cache loading error'
|
|
call dein#util#_error('Loading state error: ' . v:exception)
|
|
endif
|
|
call dein#clear_state()
|
|
return 1
|
|
endtry
|
|
endfunction
|