Skip to content

Commit

Permalink
Merge pull request #126 from kyoh86/fix-empty-input
Browse files Browse the repository at this point in the history
fix: filters can return empty string as valid input for subsequent filters
  • Loading branch information
Shougo authored Nov 27, 2024
2 parents 828531f + f648c40 commit 8103503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/ddu/ext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ export async function callFilters(
if (is.Array(ret)) {
items = ret;
} else {
if (ret.input) {
if (ret.input || ret.input === "") {
// Overwrite current input
input = ret.input;
}
Expand Down

0 comments on commit 8103503

Please sign in to comment.