We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e6449 commit 54ff5c7Copy full SHA for 54ff5c7
CHANGELOG.md
@@ -13,6 +13,8 @@
13
14
### Bug Fixes
15
16
+- [#1724](https://github.com/lapce/lapce/pull/1724): files and hidden folders no longer will be considered when trying to open a plugin base folder
17
+
18
## 0.2.4
19
20
### Features/Changes
lapce-proxy/src/plugin/wasi.rs
@@ -233,6 +233,13 @@ pub fn find_all_volts() -> Vec<VoltMetadata> {
233
d.read_dir().ok().map(|dir| {
234
dir.filter_map(|result| {
235
let entry = result.ok()?;
236
+ let metadata = entry.metadata().ok()?;
237
238
+ if metadata.is_file()
239
+ || entry.file_name().to_str()?.starts_with('.')
240
+ {
241
+ return None;
242
+ }
243
let path = entry.path().join("volt.toml");
244
load_volt(&path).ok()
245
})
0 commit comments