plugins.ltex-extra.settings

Options provided to the require('ltex-extra').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  initCheck = true;
  loadLangs = [
    "en-US"
    "fr-FR"
  ];
  logLevel = "non";
  path = ".ltex";
}

Declared by:

plugins.ltex-extra.settings.init_check

Whether to load dictionaries on startup.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.ltex-extra.settings.load_langs

Languages for witch dicionnaries will be loaded. See plugins.lsp.servers.ltex.languages for possible values.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "en-US"
]

Declared by:

plugins.ltex-extra.settings.log_level

Log level.

Type: null or one of “none”, “trace”, “debug”, “info”, “warn”, “error”, “fatal” or raw lua code

Default: null

Plugin default: "none"

Declared by:

plugins.ltex-extra.settings.path

Path (relative to project root) to load external files from.

Commonly used values are:

  • .ltex
  • .vscode for compatibility with projects using the associated VS Code extension.

Type: null or string or raw lua code

Default: null

Plugin default: ""

Declared by: