Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

yaml-schema-detect

URL: https://github.com/cwrau/yaml-schema-detect.nvim/

Maintainers: Fran Cirka


A Neovim plugin that automatically detects and applies YAML schemas for your YAML files using yaml-language-server (yamlls)

plugins.yaml-schema-detect.enable

Whether to enable yaml-schema-detect.

Type: boolean

Default:

false

Example:

true

Declared by:

plugins.yaml-schema-detect.package

The yaml-schema-detect package to use.

Type: package

Default:

pkgs.vimPlugins.yaml-schema-detect-nvim

Declared by:

plugins.yaml-schema-detect.autoLoad

Whether to automatically load yaml-schema-detect when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example:

false

Declared by:

plugins.yaml-schema-detect.callSetup

Whether to generate the standard require('yaml-schema-detect').setup(...) call for this plugin.

By default, this follows the plugin’s built-in behavior. Set this to false to disable the generated setup call, or to true to force it even when the plugin would only call it conditionally.

Type: null or boolean

Default:

null

Declared by:

plugins.yaml-schema-detect.settings

Options provided to the require('yaml-schema-detect').setup function.

Type: lua value

Default:

{ }

Example:

{
  keymap = {
    cleanup = "<leader>yc";
    info = "<leader>yi";
    refresh = "<leader>yr";
  };
}

Declared by: