Skip to content

Commit

Permalink
Allow add-space setting to be widget-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonrichert committed Apr 2, 2024
1 parent 118b4c3 commit 283d4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Functions/Widgets/.autocomplete__complete-word__post
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ else
fi

local -a spacetags=()
builtin zstyle -a :autocomplete: add-space spacetags ||
builtin zstyle -a ":autocomplete:$WIDGET:" add-space spacetags ||
spacetags=( executables aliases functions builtins reserved-words commands )

[[ -n ${comptags:*spacetags} ]] &&
Expand Down

0 comments on commit 283d4bc

Please sign in to comment.