From 884faa1fef6d5ee34c0ef9290a122cafeec81433 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 27 Mar 2013 17:38:33 +0100 Subject: [PATCH] exists() instead of has() for checking shellslash Closes #15. --- plugin/signify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/signify.vim b/plugin/signify.vim index 43926e0..d3789a5 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -563,7 +563,7 @@ endfunction " Functions -> s:s:escape() {{{1 function s:escape(path) abort - if has('+shellslash') + if exists('+shellslash') let old_ssl = &shellslash set noshellslash endif