jeetsukumaran / vim-filebeagle

A VINE-spired (Vim Is Not Emacs) file system explorer.
162 stars 14 forks source link

adjust glob for folders containing curly brackets #46

Closed nicwest closed 7 years ago

nicwest commented 7 years ago

When there are folders with curly brackets in their name filebeagle is unable to glob them.

This is a problem when dealing with project templates that use mustache style template tags (for example boilr or cookiecutter)

this change escapes any curly brackets in the current directory when the paths are discovered.

I'm guessing this might also be a problem for paths containing () or [], and I'm not certain about the behaviour on windows.

jeetsukumaran commented 7 years ago

Thanks @nicwest! Not just for this patch, but also in general for all your great support of this project. Really appreciated!

nicwest commented 7 years ago

@jeetsukumaran thanks for writing it in the first place!