neovim
neovim copied to clipboard
trim: config options for blank space removal
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",
},
},