plugins.firenvim.settings

Options fed to the vim.g.firenvim_config table.

Type: attribute set of anything

Default: { }

Example:

{
  globalSettings = {
    alt = "all";
  };
  localSettings = {
    ".*" = {
      cmdline = "neovim";
      content = "text";
      priority = 0;
      selector = "textarea";
      takeover = "always";
    };
    "https?://[^/]+\\.co\\.uk/" = {
      priority = 1;
      takeover = "never";
    };
  };
}

Declared by:

plugins.firenvim.settings.globalSettings

Default settings that apply to all URLs.

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

Default: null

Plugin default: { }

Example:

{
  alt = "all";
}

Declared by:

plugins.firenvim.settings.localSettings

Map regular expressions that are tested against the full URL to settings that are used for all URLs matched by that pattern.

When multiple patterns match a URL, the pattern with the highest “priority” value is used.

Note: regular expressions use the JavaScript flavor.

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

Default: null

Plugin default: { }

Example:

{
  ".*" = {
    cmdline = "neovim";
    content = "text";
    priority = 0;
    selector = "textarea";
    takeover = "always";
  };
  "https?://[^/]+\\.co\\.uk/" = {
    priority = 1;
    takeover = "never";
  };
}

Declared by: