commit 398763cd74832f4ee65df806f8ee3c0997c846d3 parent 9766b24762cbd95bd6a4971acf8d06544e1b12d4 Author: Ed van Bruggen <edvb54@gmail.com> Date: Mon, 3 Oct 2016 18:27:47 -0700 Remove unnecessary argument to :DmenuTag Diffstat:
plugin/dmenu.vim | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugin/dmenu.vim b/plugin/dmenu.vim @@ -58,18 +58,18 @@ function! s:dmenu_buf(cmd) call s:dmenu_open(join(files, '\n'), a:cmd) endfunction -function! s:dmenu_tag(cmd) +function! s:dmenu_tag() call system('ctags -R .') " TODO dont create tags files - let file = system(g:dmenu_ctags . ' | ' . g:dmenu_cmd . ' -p :' . a:cmd) + let file = system(g:dmenu_ctags . ' | ' . g:dmenu_cmd . ' -p :tag') if !empty(file) - execute a:cmd . ' ' . file + execute 'tag ' . file endif endfunction " commands {{{1 command! -nargs=1 DmenuFile call s:dmenu_file(<args>) command! -nargs=1 DmenuBuf call s:dmenu_buf(<args>) -command! -nargs=1 DmenuTag call s:dmenu_tag(<args>) +command! DmenuTag call s:dmenu_tag() " }}}