Last active
August 21, 2016 08:39
-
-
Save koturn/ca2c1de3d3f6b3343fa8750644bb2630 to your computer and use it in GitHub Desktop.
dein.vimでnobundle.vimのNeoBundleListっぽいことを実現するやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! s:dein_list() abort | |
echomsg '[dein] #: not sourced, X: not installed' | |
for pair in items(dein#get()) | |
echomsg (!isdirectory(pair[1].path) ? 'X' | |
\ : dein#is_sourced(pair[0]) ? ' ' | |
\ : '#') pair[0] | |
endfor | |
endfunction | |
command! DeinList call s:dein_list() | |
" :DeinList | |
" って感じでコマンドを実行すると,:NeoBundleList と同じ感じのことができます。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment