about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/User/_nedit7
1 files changed, 4 insertions, 3 deletions
diff --git a/Completion/User/_nedit b/Completion/User/_nedit
index 1f030e369..1e241f350 100644
--- a/Completion/User/_nedit
+++ b/Completion/User/_nedit
@@ -44,6 +44,7 @@ else
     "$nedit_common[@]"
 fi
 
-[[ $state = lang ]] && _wanted neditlanguages expl 'language mode' &&
-    compadd "$expl[@]" -  ${(f)"$(sed -n \
-      '/^nedit.languageMode/,/^nedit/ s/.*	\([^:]*\).*/\1/p' < ~/.nedit)"}
+[[ $state = lang ]] &&
+    _wanted neditlanguages expl 'language mode' \
+        compadd -  ${(f)"$(sed -n \
+            '/^nedit.languageMode/,/^nedit/ s/.*	\([^:]*\).*/\1/p' < ~/.nedit)"}