diff --git a/README.md b/README.md index 176f580..4b9e728 100755 --- a/README.md +++ b/README.md @@ -389,12 +389,12 @@ require("lz.n").register_handler(handler) #### `lz.n.Handler` -| Property | Type | Description | -| --- | --- | --- | -| spec_field | `string` | the `lz.n.PluginSpec` field used to configure the handler | -| add | `fun(plugin: lz.n.Plugin)` | adds a plugin to the handler | -| del | `fun(name: string)` | removes a plugin from the handler by name | -| lookup | `fun(name: string` | lookup a plugin managed by this handler by name | +| Property | Type | Description | +| --- | --- | --- | +| spec_field | `string` | the `lz.n.PluginSpec` field used to configure the handler | +| add | `fun(plugin: lz.n.Plugin)` | adds a plugin to the handler | +| del | `fun(name: string)` | removes a plugin from the handler by name | +| lookup | `fun(name: string): lz.n.Plugin?` | lookup a plugin managed by this handler by name | > [!TIP]