mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
First version working calling the widgets
This commit is contained in:
parent
daaedc8e3d
commit
8c0998d232
3 changed files with 4 additions and 6 deletions
|
|
@ -172,8 +172,8 @@ _zsh_autosuggest_suggest() {
|
|||
_zsh_autosuggest_accept() {
|
||||
# Accepting the whole line is basically a specific case of
|
||||
# accepting partially with "end-of-line" widget
|
||||
# _zsh_autosuggest_partial_accept ".end-of-line"
|
||||
_zsh_autosuggest_partial_accept "end-of-line"
|
||||
# TODO : find a non-hardcoded way to call this widget
|
||||
_zsh_autosuggest_partial_accept "autosuggest-orig-1-end-of-line"
|
||||
}
|
||||
|
||||
# Accept the entire suggestion and execute it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue