Skip to content

Commit 5f0525f

Browse files
committed
README: fix typo extension->extensions
1 parent a73d9b7 commit 5f0525f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@ require('telescope').setup({
113113
For a particular command you can pass it directly in your key mapping to the function:
114114

115115
```lua
116-
require('telescope').extension.orgmode.search_headings({ max_depth = 3 })
116+
require('telescope').extensions.orgmode.search_headings({ max_depth = 3 })
117117
```
118118

119119
You can also create a key mapping, that allows you to search directly for org files:
120120

121121
```lua
122122
vim.set.keymap(
123123
"n",
124-
"<Leader>off",
124+
"<Leader>off",
125125
function()
126-
require('telescope').extension.orgmode.search_headings({ mode = "orgfiles" })
126+
require('telescope').extensions.orgmode.search_headings({ mode = "orgfiles" })
127127
end,
128128
{ desc = "Find org files"}
129129
)

0 commit comments

Comments
 (0)