diff --git a/README.md b/README.md index 54bf701..67bb922 100644 --- a/README.md +++ b/README.md @@ -706,6 +706,12 @@ require("substitute").setup({ on_substitute = require("yanky.integration").substitute(), }) ``` +or +```lua +opts = { + on_substitute = function() require("yanky.integration").substitute() end, +} +```