diff options
author | anekos | 2015-09-29 22:12:04 +0900 |
---|---|---|
committer | anekos | 2015-09-29 22:12:04 +0900 |
commit | 42f513596cf2aea8d53daa61e67634777388f15b (patch) | |
tree | 34f4c6efbb2b5e1b054e107a2e5e74f0d55201d4 /auto_source.js | |
parent | 74a5a873bbede5bcd2f7dadabed19fabbdefe314 (diff) | |
download | vimperator-plugins-42f513596cf2aea8d53daa61e67634777388f15b.tar.bz2 |
unletttttttttttttttttttttt
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:[\\\/]/)) |