From 8b533e933f1e4904daae72e9d84f939cd18ffca8 Mon Sep 17 00:00:00 2001 From: Chris White Date: Sat, 20 Jul 2019 13:14:57 -0400 Subject: [PATCH] '?' wildcard does not match '/' (fixes #124) --- autoload/editorconfig_core/fnmatch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/editorconfig_core/fnmatch.vim b/autoload/editorconfig_core/fnmatch.vim index 14833bf0..6f60db5d 100644 --- a/autoload/editorconfig_core/fnmatch.vim +++ b/autoload/editorconfig_core/fnmatch.vim @@ -199,7 +199,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...) endif elseif l:current_char ==# '?' - let l:result .= '\_.' + let l:result .= '\_[^/]' elseif l:current_char ==# '[' if l:in_brackets