Skip to content

Commit

Permalink
Add -bar in commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed May 12, 2019
1 parent 2f81b2c commit 00c18be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/denite.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ if exists('g:loaded_denite')
endif
let g:loaded_denite = 1

command! -nargs=+ -range -complete=customlist,denite#helper#complete
command! -nargs=+ -range -bar -complete=customlist,denite#helper#complete
\ Denite
\ call denite#helper#call_denite('Denite',
\ <q-args>, <line1>, <line2>)
command! -nargs=+ -range -complete=customlist,denite#helper#complete
command! -nargs=+ -range -bar -complete=customlist,denite#helper#complete
\ DeniteCursorWord
\ call denite#helper#call_denite('DeniteCursorWord',
\ <q-args>, <line1>, <line2>)
command! -nargs=+ -range -complete=customlist,denite#helper#complete
command! -nargs=+ -range -bar -complete=customlist,denite#helper#complete
\ DeniteBufferDir
\ call denite#helper#call_denite('DeniteBufferDir',
\ <q-args>, <line1>, <line2>)
command! -nargs=+ -range -complete=customlist,denite#helper#complete
command! -nargs=+ -range -bar -complete=customlist,denite#helper#complete
\ DeniteProjectDir
\ call denite#helper#call_denite('DeniteProjectDir',
\ <q-args>, <line1>, <line2>)

0 comments on commit 00c18be

Please sign in to comment.