We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b79d10 commit b136fd2Copy full SHA for b136fd2
autoload/dirvish.vim
@@ -53,7 +53,7 @@ endif
53
54
function! s:list_dir(dir) abort
55
" Escape for glob().
56
- let dir_esc = escape(substitute(a:dir,'\[','[[]','g'),'{}')
+ let dir_esc = escape(substitute(a:dir,'\[','[[]','g'),'{}^$')
57
let paths = s:globlist(dir_esc.'*')
58
"Append dot-prefixed files. glob() cannot do both in 1 pass.
59
let paths = paths + s:globlist(dir_esc.'.[^.]*')
0 commit comments