summary refs log tree commit diff
path: root/Completion/Base/Utility/_values
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/Utility/_values')
-rw-r--r--Completion/Base/Utility/_values2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index 52c42bc70..a478a8517 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -12,6 +12,8 @@ if compvalues -i "$@"; then
   local noargs args opts descr action expl sep argsep subc test='*'
   local oldcontext="$curcontext"
 
+  compstate[list_in_word]=1
+
   compvalues -S argsep
   compvalues -s sep && [[ -n "$sep" ]] && test="[^${(q)sep}]#"