docs: improve README.md

main
Moritz Böhme 2023-09-16 08:20:05 +02:00
parent 81ab0beacd
commit bb05f09bec
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 14 additions and 14 deletions

View File

@ -27,20 +27,20 @@
## Usage
See also [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) plugin spec.
| Property | Type | Description |
|----------|------|-------------|
| plugin | derivation | The plugins vimPlugin derivation. |
| lazy | bool | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec). |
| enabled | bool | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
| dependecies | list attrset | List of plugin definitions. |
| init | str | Lua code to run on startup. |
| opts | attrset | Attrset of primitive types (str, bool, int, float, list, attrset) which gets transformed into lua |
| conf | str | Lua code. Like config function body in [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
| event | list str | List of event names to lazy load on. |
| cmd | list str | List of commands to lazy load on. |
| ft | list str | List of filetypes to lazy load on. |
| keys | attrset | See [Example](#example) |
| priority | int | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
| Property | Type | Description |
|-------------|------------|------------------------------------------------------------------------------------------------------|
| plugin | derivation | The plugins vimPlugin derivation. |
| lazy | bool | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec). |
| enabled | bool | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
| dependecies | [attrset] | List of plugin definitions. |
| init | str | Lua code to run on startup. |
| opts | attrset | Attrset of primitive types (str, bool, int, float, list, attrset) which gets transformed into lua |
| conf | str | Lua code. Like config function body in [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
| event | [str] | List of event names to lazy load on. |
| cmd | [str] | List of commands to lazy load on. |
| ft | [str] | List of filetypes to lazy load on. |
| keys | attrset | See [Example](#example) |
| priority | int | Like [lazy.nvim](https://github.com/folke/lazy.nvim/#-plugin-spec) |
## Example