Shougo / ddu-ui-ff

Fuzzy finder UI for ddu.vim
MIT License
55 stars 26 forks source link

Fix do_auto_action #95

Closed ryota2357 closed 1 year ago

ryota2357 commented 1 year ago

Fix the following error:

[denops] Failed to handle message 2,invoke,dispatch,ddu,uiAction,file_rec,cursorNext,[object Object] 0,function ddu#ui#ff#_cursor[10]..ddu#ui#ff#_do_auto_action, line 2: Vim(let):E716: Key not present in Dictionary: "delay, { -> s:do_auto_action() })"

This error is caused when I don't set autoAction. Because s:auto_action will set be {} by ddu#ui#ff#_reset_auto_action(), so the delay key will be undefined.