Skip to content

Commit

Permalink
docs: update smart-enter tip
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Mar 13, 2024
1 parent 66479a0 commit 35238ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Save these lines as `~/.config/yazi/plugins/smart-enter.yazi/init.lua`:
return {
entry = function()
local h = cx.active.current.hovered
ya.manager_emit(h and h.cha.is_dir and "enter" or "open", {})
ya.manager_emit(h and h.cha.is_dir and "enter" or "open", { hovered = true })
end,
}
```
Expand Down

0 comments on commit 35238ad

Please sign in to comment.