mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 23:40:05 +08:00
13 lines
305 B
VimL
13 lines
305 B
VimL
|
let s:Options = vital#gina#import('Options')
|
||
|
|
||
|
function! gina#core#options#new() abort
|
||
|
return s:Options.new()
|
||
|
endfunction
|
||
|
|
||
|
function! gina#core#options#help_if_necessary(args, options) abort
|
||
|
if a:args.get('-h|--help')
|
||
|
call a:options.help()
|
||
|
throw gina#core#revelator#cancel()
|
||
|
endif
|
||
|
endfunction
|