1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 05:40:05 +08:00
SpaceVim/bundle/github.vim/autoload/github.vim
2022-04-28 21:46:05 +08:00

15 lines
349 B
VimL
Vendored

""
" @public
" List all orgs in github,{since} is the integer ID of the last Organization
" that you've seen.
"
" Github API : GET /organizations
function! github#ListAllOrgs(since) abort
let url = 'organizations'
if !empty(a:since)
let url = url . '?since=' . a:since
endif
return githubapi#util#Get([url], [])
endfunction