Skip to content

Commit

Permalink
chore: fix typo in readme (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh authored Feb 19, 2023
1 parent b12bd22 commit 51351fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ A Lua module that implements a bunch of the things from `pathlib` from Python, s
It offers a wide range of opts for limiting the depth, show hidden and more. `plenary.scan_dir` can be ran synchronously and asynchronously and offers `on_insert(file, typ)` and `on_exit(files)` callbacks. `on_insert(file, typ)` is available for both while `on_exit(files)` is only available for async.

```lua
local scan = require'plenary.scandir`
local scan = require'plenary.scandir'
scan.scan_dir('.', { hidden = true, depth = 2 })
```

Expand Down

0 comments on commit 51351fd

Please sign in to comment.