Skip to content

Commit 51351fd

Browse files
authored
chore: fix typo in readme (#452)
1 parent b12bd22 commit 51351fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ A Lua module that implements a bunch of the things from `pathlib` from Python, s
187187
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.
188188

189189
```lua
190-
local scan = require'plenary.scandir`
190+
local scan = require'plenary.scandir'
191191
scan.scan_dir('.', { hidden = true, depth = 2 })
192192
```
193193

0 commit comments

Comments
 (0)