Last active
April 8, 2017 06:39
-
-
Save ryochack/442accdc5ebc70d3a12ba03da1c9f45d to your computer and use it in GitHub Desktop.
This file contains 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
" vim-plugでPluginがインストールされているかどうかを判定する | |
function s:has_plugged(name) | |
if exists('g:plugs') && has_key(g:plugs, a:name) && isdirectory(g:plugs[a:name].dir) | |
return 1 | |
else | |
return 0 | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment