diff options
| author | Damon Timm <damontimm@gmail.com> | 2021-05-16 14:36:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-16 20:36:16 +0200 |
| commit | 69eb5eacff421e05aeb1e02ff97ef64bfd955c53 (patch) | |
| tree | 76d8eb3c586fd610e361cfb4155e13d8ab3372cc /README.md | |
| parent | 4da66dab44f37d0de4b88cedf9e114c5b0855c20 (diff) | |
fix: string.find() matching for only_cwd option (builtin.buffers) (#849)
`string.find()` is defaulting to _pattern_ matching (rather than string
literal matching). If you are using the `only_cwd` command in a
directory with a `-` (for example) the option fails to work.
This fix asks `string.find()` to interpret the arguments as literal
strings rather than patterns.
Reference: https://stackoverflow.com/a/15258515/181902
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
