aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-08-31 15:32:23 +0000
committers-ol <s+removethis@s-ol.nu>2022-08-31 15:32:23 +0000
commit5ccb7ef6c2a660d8edb8af74e63608ebaf80ccda (patch)
tree79e0b90f1f9e4d5917f3b10cb83981ebb314311b
parentstatic/style: serve fonts locally (diff)
downloadmmm-5ccb7ef6c2a660d8edb8af74e63608ebaf80ccda.tar.gz
mmm-5ccb7ef6c2a660d8edb8af74e63608ebaf80ccda.zip
fix duplicate plugin loading
-rw-r--r--mmm/mmmfs/meta.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/mmm/mmmfs/meta.moon b/mmm/mmmfs/meta.moon
index 75e47f3..f24fa3f 100644
--- a/mmm/mmmfs/meta.moon
+++ b/mmm/mmmfs/meta.moon
@@ -32,6 +32,7 @@ get_meta = (fileder, path) ->
-- search until closest non-meta ancestor
for ancestor in yield_ancestors fileder.root, max_path
break if guard_self and ancestor.path == max_path
+ continue if ancestor == fileder
if result = ancestor\walk path
coroutine.yield result