Skip to content

trim: config options for blank space removal #73

@practicalli-johnny

Description

@practicalli-johnny

trim.nvim plugin will remove blank space at the end of lines and extra blank lines.

trim.nvim can also highlight blank spaces, defining a specific color

Neovim filetypes can be defined to skip (block) trimming and highlighting of blank space.

  {
    "cappyzawa/trim.nvim",
    event = "User AstroFile",
    opts = {
      -- ft_blocklist = {"markdown"}, -- filetype not to trim
      -- highlight = true,
      -- highlight_bg = "purple",
    },
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Docs.

    Projects

    Status

    Options

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions