Skip to content

Commit 0d6ae6c

Browse files
committed
fix: default custom filter directory
1 parent d4c9bbd commit 0d6ae6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

denops/fall/_assets/default.custom.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const myFilterDirectory = (path: string) => {
108108
"target", // Rust
109109
];
110110
for (const exclude of excludes) {
111-
if (path.includes(`${SEPARATOR}${exclude}${SEPARATOR}`)) {
111+
if (path.endsWith(`${SEPARATOR}${exclude}`)) {
112112
return false;
113113
}
114114
}

0 commit comments

Comments
 (0)