瀏覽代碼

Comments

pull/294/head
Arnaud Venturi 6 年之前
父節點
當前提交
d7102f3de1
共有 3 個文件被更改,包括 5 次插入1 次删除
  1. +1
    -1
      .ruby-version
  2. +2
    -0
      src/widgets.zsh
  3. +2
    -0
      zsh-autosuggestions.zsh

+ 1
- 1
.ruby-version 查看文件

@ -1 +1 @@
2.3.1
2.4.2

+ 2
- 0
src/widgets.zsh 查看文件

@ -116,6 +116,8 @@ _zsh_autosuggest_suggest() {
_zsh_autosuggest_accept() {
# Accepting the whole line is basically a specific case of
# accepting partially with "end-of-line" widget
# NB : we can't directly call end-of-line because since we wrap it,
# it would cause a recursive call to it
# TODO : find a non-hardcoded way to call this widget
_zsh_autosuggest_partial_accept "autosuggest-orig-1-end-of-line"
}

+ 2
- 0
zsh-autosuggestions.zsh 查看文件

@ -381,6 +381,8 @@ _zsh_autosuggest_suggest() {
_zsh_autosuggest_accept() {
# Accepting the whole line is basically a specific case of
# accepting partially with "end-of-line" widget
# NB : we can't directly call end-of-line because since we wrap it,
# it would cause a recursive call to it
# TODO : find a non-hardcoded way to call this widget
_zsh_autosuggest_partial_accept "autosuggest-orig-1-end-of-line"
}

Loading…
取消
儲存