diff options
author | anekos | 2015-09-29 22:28:40 +0900 |
---|---|---|
committer | anekos | 2015-09-29 22:28:40 +0900 |
commit | de561f4b9cc35ff2cdcf63fdac2d243c0becd7eb (patch) | |
tree | c61fef7c8e180e049a0edc7bc5665b227c9b9d18 /auto_source.js | |
parent | 1fadfa1fe321a69a41319cfe43ae0cbbf040bb8d (diff) | |
parent | ed15e58b7b7a44a7df7a5bc7a676ae6cc87ba073 (diff) | |
download | vimperator-plugins-de561f4b9cc35ff2cdcf63fdac2d243c0becd7eb.tar.bz2 |
Merge branch 'unlet-unlet-unlet'
Diffstat (limited to 'auto_source.js')
-rw-r--r-- | auto_source.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js index 2054808..f98696f 100644 --- a/auto_source.js +++ b/auto_source.js @@ -121,9 +121,10 @@ let INFO = xml` (files = files.filter(function (it) (!(it.path.indexOf(filepath) === 0 && func(it)+'-')))); function expandPath (filepath) { - function normalize (filepath) - let (file = io.File(filepath)) - (file.normalize(), file.path); + function normalize (filepath) { + let file = io.File(filepath); + return (file.normalize(), file.path); + } filepath = io.expandPath(filepath); if (filepath.match(/\/|\w:[\\\/]/)) |