summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-18 12:46:33 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-18 12:46:33 +0100
commit2caa5ddd79729ff48552236c4566b04a15e5daba (patch)
treeb8bde3871dab5a00f592980cd2df8b99e72db50d
parent2d6569e5906ad504ecc66a3b0114cd284afd81a1 (diff)
downloadzsh-2caa5ddd79729ff48552236c4566b04a15e5daba.tar.gz
zsh-2caa5ddd79729ff48552236c4566b04a15e5daba.tar.xz
zsh-2caa5ddd79729ff48552236c4566b04a15e5daba.zip
35187: unbalanced parentheses in _vim
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_vim2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef4029436..3f0b24bbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-05-18  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 35187: Completion/Unix/Command/_vim: fix unbalanced parentheses.
+
 	* 35184: Src/parse.c, Test/A01grammar.ztst: fix pattern parsing
 	after "|" in 35168.
 
diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 021054d47..007671be8 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -4,7 +4,7 @@
 _vim_files () {
   case $PREFIX in
     (+*) _files -P './' $* && return 0 ;;
-    (scp|http(|s)|(|s)ftp):*) _urls ;;
+    ((scp|http(|s)|(|s)ftp):*) _urls ;;
     (*) _files $* ;;
   esac
   case $PREFIX in