plugins.ts-autotag.settings

Options provided to the require('nvim-ts-autotag').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  opts = {
    enable_close = true;
    enable_close_on_slash = false;
    enable_rename = true;
  };
  per_filetype = {
    html = {
      enable_close = false;
    };
  };
}

Declared by:

plugins.ts-autotag.settings.aliases

Filetype aliases.

Type: null or (attribute set of (string or raw lua code))

Default: null

Plugin default:

{
  astro = "html";
  blade = "html";
  eruby = "html";
  handlebars = "glimmer";
  hbs = "glimmer";
  htmldjango = "html";
  javascript = "typescriptreact";
  "javascript.jsx" = "typescriptreact";
  javascriptreact = "typescriptreact";
  markdown = "html";
  php = "html";
  rescript = "typescriptreact";
  rust = "rust";
  twig = "html";
  typescript = "typescriptreact";
  "typescript.tsx" = "typescriptreact";
  vue = "html";
}

Declared by:

plugins.ts-autotag.settings.per_filetype

Per filetype config overrides.

Type: null or (attribute set of ((attribute set of anything) or raw lua code))

Default: null

Plugin default: { }

Declared by: