1
0
mirror of https://github.com/amix/vimrc synced 2025-07-10 03:25:00 +08:00

Updated plugins

This commit is contained in:
Amir
2020-06-21 11:50:44 -04:00
parent 1d312d3252
commit e83f5ea2e7
46 changed files with 470 additions and 152 deletions

View File

@ -790,6 +790,9 @@ fu! s:BuildPrompt(upd)
if empty(prt[1]) && s:focus
exe 'echoh' hibase '| echon "_" | echoh None'
en
if a:upd
cal s:NotifySearch()
en
endf
" - SetDefTxt() {{{1
fu! s:SetDefTxt()
@ -2609,6 +2612,10 @@ fu! ctrlp#clearmarkedlist()
let s:marked = {}
endf
fu! ctrlp#input()
retu s:getinput()
endf
fu! ctrlp#exit()
cal s:PrtExit()
endf
@ -2735,8 +2742,21 @@ fu! ctrlp#init(type, ...)
en
cal s:BuildPrompt(1)
if s:keyloop | cal s:KeyLoop() | en
return 1
retu 1
endf
" - Events {{{1
fu! s:NotifySearch()
let l:cb = s:getextvar('search')
if l:cb != -1
cal eval(l:cb)
en
endf
fu! ctrlp#update()
cal s:ForceUpdate()
endf
" - Autocmds {{{1
if has('autocmd')
aug CtrlPAug