Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/ui/mod.rs')
-rw-r--r--helix-term/src/ui/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
index a68f423a..56888ee1 100644
--- a/helix-term/src/ui/mod.rs
+++ b/helix-term/src/ui/mod.rs
@@ -450,7 +450,7 @@ pub mod completers {
.filter_map(|entry| {
let entry = entry.ok()?;
let path = entry.path();
- (path.extension()? == "txt")
+ (path.extension()? == "md")
.then(|| path.file_stem().unwrap().to_string_lossy().into_owned())
})
.chain(
@@ -459,7 +459,7 @@ pub mod completers {
entries.filter_map(|entry| {
let entry = entry.ok()?;
let path = entry.path();
- (path.extension()? == "txt").then(|| {
+ (path.extension()? == "md").then(|| {
format!(":{}", path.file_stem().unwrap().to_string_lossy())
})
})