autocmds

List of autocmds to set. Refer to vim.api.nvim_create_autocmd for usage and option documentation.

Type: list of (submodule)

Default: [ ]

Declared by:

autocmds.*.callback

lua / vimscript function to execute on trigger. Mutually exclusive with command.

Type: null or (function that evaluates to a(n) string) or string

Default: null

Declared by:

autocmds.*.command

The (vim) command to run on trigger. Mutually exclusive with callback

Type: null or string

Default: null

Declared by:

autocmds.*.description

Description of the autocommand.

Type: null or string

Default: null

Declared by:

autocmds.*.event

Event(s) to trigger the autocommand on.

Type: (list of ((function that evaluates to a(n) string) or string)) or (function that evaluates to a(n) string) or string

Default: [ ]

Declared by:

autocmds.*.group

Group of the autocommand.

Type: null or (function that evaluates to a(n) string) or string

Default: null

Declared by:

autocmds.*.nested

Run any further nested autocommands.

Type: boolean

Default: false

Declared by:

autocmds.*.once

Run the autocommand only once.

Type: boolean

Default: false

Declared by:

autocmds.*.pattern

Pattern(s) to match against.

Type: (list of ((function that evaluates to a(n) string) or string)) or (function that evaluates to a(n) string) or string

Default: [ ]

Declared by: