aboutsummaryrefslogtreecommitdiffstats
path: root/easytags.vim
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2010-09-06 01:04:10 +0200
committerPeter Odding <peter@peterodding.com>2010-09-06 01:04:10 +0200
commit0d0fac667e38114324d1a90f848f49a5af71f859 (patch)
tree43b2bfdcb8fb93f79865a7de5ec3d9e837d143d4 /easytags.vim
parent3735a5c31b94cb575d6821e697d867fe475d73cf (diff)
downloadvim-easytags-0d0fac667e38114324d1a90f848f49a5af71f859.tar.gz
Fixed easytags#update() to overcome argument limit
The easytags#update() function previously used the variable argument list notation `...' but I just found out [the hard way] that this only supports up to 20 arguments. Therefor I've now changed easytags#update() to receive a list of zero or more filenames as its third argument.
Diffstat (limited to 'easytags.vim')
-rw-r--r--easytags.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/easytags.vim b/easytags.vim
index c3e00b0..3c0da74 100644
--- a/easytags.vim
+++ b/easytags.vim
@@ -4,7 +4,7 @@
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.1.5
+" Version: 2.1.6
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip
@@ -150,7 +150,7 @@ call s:RegisterTagsFile()
" The :UpdateTags and :HighlightTags commands. {{{1
-command! -bar -bang -nargs=* -complete=file UpdateTags call easytags#update(0, <q-bang> == '!', <f-args>)
+command! -bar -bang -nargs=* -complete=file UpdateTags call easytags#update(0, <q-bang> == '!', [<f-args>])
command! -bar HighlightTags call easytags#highlight()
" Automatic commands. {{{1