Skip to content

Commit

Permalink
docs: update substitute.nvim integration docs (#185)
Browse files Browse the repository at this point in the history
* docs: update `substitute.nvim` integration docs

When user does not call `config`, the option
`on_substitute` should be wrapped as a function.

* docs: use `"`
  • Loading branch information
b0ae989c committed Jun 10, 2024
1 parent 7933856 commit f2e9c86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,12 @@ require("substitute").setup({
on_substitute = require("yanky.integration").substitute(),
})
```
or
```lua
opts = {
on_substitute = function() require("yanky.integration").substitute() end,
}
```

</details>

Expand Down

0 comments on commit f2e9c86

Please sign in to comment.