plugins.quicker.settings

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

Type: attribute set of anything

Default: { }

Example:

{
  edit = {
    enabled = false;
  };
  highlight = {
    load_buffers = false;
  };
  keys = [
    {
      __unkeyed-1 = ">";
      __unkeyed-2 = {
        __raw = ''
          function()
            require("quicker").expand({ before = 2, after = 2, add_to_existing = true })
          end
        '';
      };
      desc = "Expand quickfix context";
    }
    {
      __unkeyed-1 = "<";
      __unkeyed-2 = {
        __raw = "require('quicker').collapse";
      };
      desc = "Collapse quickfix context";
    }
  ];
}

Declared by:

plugins.quicker.settings.borders

Border characters.

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

Default: null

Plugin default:

{
  soft_cross = "╂";
  soft_end = "┨";
  soft_header = "╌";
  strong_cross = "╋";
  strong_end = "┫";
  strong_header = "━";
  vert = "┃";
}

Declared by:

plugins.quicker.settings.constrain_cursor

Keep the cursor to the right of the filename and lnum columns.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.quicker.settings.header_length

How far the header should extend to the right.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: lib.nixvim.mkRaw "function(type, start_col)\n return vim.o.columns - start_col\nend\n"

Declared by:

plugins.quicker.settings.keys

Keymaps to set for the quickfix buffer.

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

Default: null

Plugin default:

[
  {
    __unkeyed-1 = ">";
    __unkeyed-2 = "<cmd>lua require('quicker').toggle_expand()<CR>";
    desc = "Expand quickfix content";
  }
]

Declared by:

plugins.quicker.settings.max_filename_width

Maximum width of the filename column.

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: lib.nixvim.mkRaw "function()\n return math.floor(math.min(95, vim.o.columns / 2))\nend\n"

Declared by:

plugins.quicker.settings.on_qf

Callback function to run any custom logic or keymaps for the quickfix buffer.

Type: null or raw lua code

Default: null

Plugin default: lib.nixvim.mkRaw "function(bufnr) end"

Declared by:

plugins.quicker.settings.opts

Local options to set for quickfix.

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

Default: null

Plugin default:

{
  buflisted = false;
  number = false;
  relativenumber = false;
  signcolumn = "auto";
  winfixheight = true;
  wrap = false;
}

Declared by:

plugins.quicker.settings.trim_leading_whitespace

How to trim the leading whitespace from results.

Type: null or one of “all”, “common”, false or raw lua code

Default: null

Plugin default: "common"

Declared by:

plugins.quicker.settings.type_icons

Map of quickfix item type to icon.

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

Default: null

Plugin default:

{
  E = "󰅚 ";
  H = " ";
  I = " ";
  N = " ";
  W = "󰀪 ";
}

Declared by:

plugins.quicker.settings.use_default_opts

Set to false to disable the default options in opts.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: