plugins.lint.autoCmd

The configuration for the linting autocommand. You can disable it by setting this option to null.

Type: null or (submodule)

Default:

{
  callback = {
    __raw = ''
      function()
        require('lint').try_lint()
      end
    '';
  };
  event = "BufWritePost";
}

Declared by:

plugins.lint.autoCmd.buffer

Buffer number for buffer local autocommands |autocmd-buflocal|. Cannot be used with pattern.

Type: null or signed integer

Default: null

Declared by:

plugins.lint.autoCmd.callback

What action to perform for linting

Type: null or string or raw lua code

Default:

{
  __raw = ''
    function()
      require('lint').try_lint()
    end
  '';
}

Declared by:

plugins.lint.autoCmd.command

Vim command to execute on event. Cannot be used with callback.

Plugin default: ""

Type: null or string or raw lua code

Default: null

Declared by:

plugins.lint.autoCmd.desc

A textual description of this autocommand.

Type: null or string

Default: null

Declared by:

plugins.lint.autoCmd.description

DEPRECATED, please use desc.

Type: null or string

Default: null

Declared by:

plugins.lint.autoCmd.event

The event or events that should trigger linting.

Type: null or string or list of string

Default: "BufWritePost"

Declared by:

plugins.lint.autoCmd.group

The autocommand group name or id to match against.

Type: null or string or signed integer

Default: null

Declared by:

plugins.lint.autoCmd.nested

Run nested autocommands.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.lint.autoCmd.once

Run the autocommand only once.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.lint.autoCmd.pattern

Pattern or patterns to match literally against.

Type: null or string or list of string

Default: null

Declared by: