plugins.parinfer-rust.settings

The configuration options for parinfer-rust without the parinfer_ prefix.

Example: To set parinfer_foo_bar to 1, write

  settings = {
    foo_bar = true;
  };

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.parinfer-rust.settings.force_balance

In smart mode and indent mode, parinfer will sometimes leave unbalanced brackets around the cursor and fix them when the cursor moves away. When this option is set to true, the brackets will be fixed immediately (and fixed again when text is inserted).

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.parinfer-rust.settings.mode

The mode used to process buffer changes.

Type: null or one of “smart”, “indent”, “paren” or raw lua code

Default: null

Plugin default: "smart"

Declared by: