aboutsummaryrefslogtreecommitdiff
path: root/files.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-02 14:38:24 -0700
committerBruce Hill <bruce@bruce-hill.com>2018-11-02 14:39:23 -0700
commit307dea18815ba4a06a3098edb170d7ad90708815 (patch)
treebce78eb28fa03c9939a92e08e47564afc984c988 /files.lua
parentd0c3c57f7b25c8d912c426e48cb5ab09cd738f65 (diff)
Changed stub convention to (foo 1 baz 2) -> foo_1_baz instead of
foo_1_baz_2, removed "smext", made some cleanup changes.
Diffstat (limited to 'files.lua')
-rw-r--r--files.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/files.lua b/files.lua
index 48e047f..13679e3 100644
--- a/files.lua
+++ b/files.lua
@@ -181,6 +181,8 @@ Files.walk = function(path, flush_cache)
files = {
path
}
+ elseif path:match("^[~/]") or path:match("^%./") or path:match("^%.%./") then
+ files = browse(path)
else
for nomsupath in package.nomsupath:gmatch("[^;]+") do
do