Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

trim

URL: https://github.com/cappyzawa/trim.nvim/

Maintainers: Gaetan Lepage


This plugin trims trailing whitespace and lines.

plugins.trim.enable

Whether to enable trim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.trim.package

The trim package to use.

Type: package

Default: pkgs.vimPlugins.trim-nvim

Declared by:

plugins.trim.autoLoad

Whether to automatically load trim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.trim.settings

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

Type: lua value

Default: { }

Example:

{
  ft_blocklist = [
    "markdown"
  ];
  highlight = true;
  patterns = [
    ''
      [[%s/(
      
      )
      +/1/]]''
  ];
  trim_on_write = false;
}

Declared by: