mirror of https://github.com/folke/lazy.nvim.git
docs: documented event patterns. Fixes #191
This commit is contained in:
parent
5a5487b015
commit
81943f32d9
|
@ -98,7 +98,7 @@ require("lazy").setup({
|
||||||
| **commit** | `string?` | Commit of the repository |
|
| **commit** | `string?` | Commit of the repository |
|
||||||
| **version** | `string?` | Version to use from the repository. Full [Semver](https://devhints.io/semver) ranges are supported |
|
| **version** | `string?` | Version to use from the repository. Full [Semver](https://devhints.io/semver) ranges are supported |
|
||||||
| **pin** | `boolean?` | When `true`, this plugin will not be included in updates |
|
| **pin** | `boolean?` | When `true`, this plugin will not be included in updates |
|
||||||
| **event** | `string?` or `string[]` | Lazy-load on event |
|
| **event** | `string?` or `string[]` | Lazy-load on event. Events can be specified as `BufEnter` or with a pattern like `BufEnter *.lua` |
|
||||||
| **cmd** | `string?` or `string[]` | Lazy-load on command |
|
| **cmd** | `string?` or `string[]` | Lazy-load on command |
|
||||||
| **ft** | `string?` or `string[]` | Lazy-load on filetype |
|
| **ft** | `string?` or `string[]` | Lazy-load on filetype |
|
||||||
| **keys** | `string?` or `string[]` or `LazyKeys[]` | Lazy-load on key mapping |
|
| **keys** | `string?` or `string[]` or `LazyKeys[]` | Lazy-load on key mapping |
|
||||||
|
|
Loading…
Reference in New Issue