From 49ad69c41ade5d47ba41a0c53209a5ec6d375a61 Mon Sep 17 00:00:00 2001 From: Kien N Date: Wed, 29 Jun 2011 04:09:52 +0700 Subject: [PATCH] Pass arguments to autoload/tagbar.vim --- autoload/tagbar.vim | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 063ff4a..18e146c 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2854,12 +2854,8 @@ function! tagbar#ToggleWindow() call s:ToggleWindow() endfunction -function! tagbar#OpenWindow() - call s:OpenWindow(0) -endfunction - -function! tagbar#OpenWindow() - call s:OpenWindow(1) +function! tagbar#OpenWindow(...) + call s:OpenWindow(a:1) endfunction function! tagbar#CloseWindow()