feat: commit code

This commit is contained in:
YuKun Liu committed 2022-09-24 22:50:13 -07:00
1 parent 6004cfdd40
commit 6ad1333a94
1 file changed
+3 -1
+3 -1
View File
@@ -260,7 +260,9 @@ impl PluginManager {
for p in child_dirs {
if let Ok(p) = p {
if p.path().is_dir() && p.file_name() != "library" {
res.push(p.file_name().to_str().unwrap().to_string());
if p.path().join("init.lua").is_file() {
res.push(p.file_name().to_str().unwrap().to_string());
}
}
}
}