summaryrefslogtreecommitdiff
path: root/runtime/autoload/getscript.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-01-23 14:24:41 +0100
committerBram Moolenaar <Bram@vim.org>2014-01-23 14:24:41 +0100
commit8d04317104f7ab39785aa9451c6810ef22fcec76 (patch)
tree7bff2ef9af3dae8ef12177c43eb397e596fadc9e /runtime/autoload/getscript.vim
parentac8400d48354a62b7b761cf6897641876d2c476d (diff)
downloadvim-8d04317104f7ab39785aa9451c6810ef22fcec76.zip
Updated runtime files.
Diffstat (limited to 'runtime/autoload/getscript.vim')
-rw-r--r--runtime/autoload/getscript.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/autoload/getscript.vim b/runtime/autoload/getscript.vim
index 6b74d37da..d50bc2edc 100644
--- a/runtime/autoload/getscript.vim
+++ b/runtime/autoload/getscript.vim
@@ -1,8 +1,8 @@
" ---------------------------------------------------------------------
" getscript.vim
" Author: Charles E. Campbell
-" Date: Apr 17, 2013
-" Version: 35
+" Date: Jan 21, 2014
+" Version: 36
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -15,7 +15,7 @@
if exists("g:loaded_getscript")
finish
endif
-let g:loaded_getscript= "v35"
+let g:loaded_getscript= "v36"
if &cp
echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
finish
@@ -208,8 +208,8 @@ fun! getscript#GetLatestVimScripts()
let lastline = line("$")
" call Decho("lastline#".lastline)
let firstdir = substitute(&rtp,',.*$','','')
- let plugins = split(globpath(firstdir,"plugin/*.vim"),'\n')
- let plugins = plugins + split(globpath(firstdir,"AsNeeded/*.vim"),'\n')
+ let plugins = split(globpath(firstdir,"plugin/**/*.vim"),'\n')
+ let plugins = plugins + split(globpath(firstdir,"AsNeeded/**/*.vim"),'\n')
let foundscript = 0
" this loop updates the GetLatestVimScripts.dat file