Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed some old names

  • Loading branch information...
commit f900f14cf747a18780cf56d10e679c44faaa2e32 1 parent f5f89af
@MarcWeber authored
View
2  autoload/cached_interpretation_of_file.vim
@@ -13,7 +13,7 @@ let s:c['cache_dir'] = get(s:c, 'cache_dir', expand('$HOME').'/.vim-cache')
function! cached_interpretation_of_file#ScanIfNewer(file, opts)
let cache = get(a:opts, 'fileCache', 0)
let file = expand(a:file) " simple kind of normalization. necessary when using file caching
- let Func = get(a:opts, 'scan_func', library#Function('library#Id'))
+ let Func = get(a:opts, 'scan_func', funcref#Function('return ARGS[0]'))
let asLines = get(a:opts, 'asLines', 1)
let func_as_string = string(Func)
let path = ['scanned_files',func_as_string]
View
4 autoload/funcref.vim
@@ -4,7 +4,7 @@
" vim requires that the function has already been loaded
" That's why I'm using a faked function reference type here
-" library#Function("Foo", { 'args' : [2, "foo"], 'self' : dict}) will create a closure. args
+" funcref#Function("Foo", { 'args' : [2, "foo"], 'self' : dict}) will create a closure. args
" these args + args passed to Call will be the list of args passed to call()
" optional self can be the "object".
function! funcref#Function(name,...)
@@ -45,7 +45,7 @@ function! funcref#Call(...)
\ || Fun[:len('debug ')-1] == 'debug ')
" it doesn't make sense to list all vim commands here
" So if you want to execute another action consider using
- " library#Function('exec '.string('aw')) or such
+ " funcref#Function('exec '.string('aw')) or such
" function is a String, call exec
let ARGS = args[1]
Please sign in to comment.
Something went wrong with that request. Please try again.