plugins.smartcolumn.settings

Options provided to the require('smartcolumn').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  colorcolumn = "100";
  custom_colorcolumn = {
    go = [
      "100"
      "130"
    ];
    java = [
      "100"
      "140"
    ];
    nix = [
      "100"
      "120"
    ];
    rust = [
      "80"
      "100"
    ];
  };
  disabled_filetypes = [
    "checkhealth"
    "help"
    "lspinfo"
    "markdown"
    "neo-tree"
    "noice"
    "text"
  ];
  scope = "window";
}

Declared by:

plugins.smartcolumn.settings.colorcolumn

Column with to highlight. Supports multiple values for more column highlights.

Type: null or string or list of string

Default: null

Plugin default: "80"

Declared by:

plugins.smartcolumn.settings.custom_colorcolumn

Custom colorcolumn definitions for different filetypes.

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

Default: null

Plugin default: { }

Declared by:

plugins.smartcolumn.settings.disabled_filetypes

Filetypes that colorcolumn highlighting will not be displayed.

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

Default: null

Plugin default:

[
  "help"
  "text"
  "markdown"
]

Declared by:

plugins.smartcolumn.settings.scope

The scope to check for column width and highlight.

Type: null or one of “file”, “window”, “line” or raw lua code

Default: null

Plugin default: "file"

Declared by: