docs(readme): fix handler table

This commit is contained in:
Marc Jakobi
2024-08-23 02:48:42 +02:00
parent 4db73d547f
commit 4b95ac4503
+6 -6
View File
@@ -389,12 +389,12 @@ require("lz.n").register_handler(handler)
#### `lz.n.Handler`
<!-- markdownlint-disable MD013 -->
| 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 |
<!-- markdownlint-enable MD013 -->
> [!TIP]