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.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.ltex-extra.settings.load_langs

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

Plugin default: ["en-US"]

Type: null or (list of string)

Default: null

Declared by:

plugins.ltex-extra.settings.log_level

Log level. Possible values:

  • “none”
  • “trace”
  • “debug”
  • “info”
  • “warn”
  • “error”
  • “fatal”

Plugin default: "none"

Type: null or string or raw lua code

Default: null

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.

Plugin default: ""

Type: null or string or raw lua code

Default: null

Declared by: