Skip to content

A nvim plugin to show and trim trailing white spaces.

License

Notifications You must be signed in to change notification settings

nvim-zh/whitespace.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The plugin can show and remove trailing whitespaces.

Install

  • packer.nvim: use {'jdhao/whitespace.nvim', event = 'VimEnter'}
  • vim-plug: Plug 'jdhao/whitespace.nvim'

Usage

Works out of the box.

To trim trailing whitespaces, run command :StripTrailingWhitespace.

Configuration

To disable showing trailing whitespaces on certain file types, customize the variable g:trailing_whitespace_exclude_filetypes:

let g:trailing_whitespace_exclude_filetypes = ['alpha', 'git']

License

This plugin is released under the MIT License.

About

A nvim plugin to show and trim trailing white spaces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published