Closed gera2ld closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e108777
) 98.64% compared to head (ab5650e
) 98.64%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Currently if
close: false
is passed, it won't be set toopts
.https://github.com/neoclide/coc.nvim/blob/e10877749538a9875e359abe69974b0d0ca697ca/src/model/dialog.ts#L97
As a result,
coc#dialog#create_dialog
will consideropts.close
not set and use1
as a fallback.https://github.com/neoclide/coc.nvim/blob/e10877749538a9875e359abe69974b0d0ca697ca/autoload/coc/dialog.vim#L300
This PR makes sure
opts.close = 0
is properly set.