Skip to content

Commit 8b533e9

Browse files
committed
'?' wildcard does not match '/' (fixes #124)
1 parent 37bedf8 commit 8b533e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/editorconfig_core/fnmatch.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...)
199199
endif
200200

201201
elseif l:current_char ==# '?'
202-
let l:result .= '\_.'
202+
let l:result .= '\_[^/]'
203203

204204
elseif l:current_char ==# '['
205205
if l:in_brackets

0 commit comments

Comments
 (0)