mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-21 07:40:22 +00:00
Compare commits
4 commits
ba9ce8bb3a
...
1a053852d2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1a053852d2 |
||
7e74ee604a |
|||
![]() |
d8a4fa62bd |
||
![]() |
a37bce1194 |
1 changed files with 10 additions and 10 deletions
|
@ -39,7 +39,7 @@ Autocommands (`autocmd`) trigger actions based on events happening within Neovim
|
|||
with the following options:
|
||||
|
||||
| Option | Type | Default | Description | Example |
|
||||
| :--------- | :-------------------- | :------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------- |
|
||||
| :--------- | :-------------------- | :------ | :---------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------- |
|
||||
| `enable` | `bool` | `true` | Enables or disables this autocommand definition. | `true` |
|
||||
| `event` | `nullOr (listOf str)` | `null` | **Required.** List of Neovim events that trigger this autocommand (e.g., `BufWritePre`, `FileType`). | `[ "BufWritePre" ]` |
|
||||
| `pattern` | `nullOr (listOf str)` | `null` | List of file patterns (globs) to match against (e.g., `*.py`, `*`). If `null`, matches all files for the given event. | `[ "*.lua", "*.nix" ]` |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue