Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

atom/whitespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc0168c ยท Sep 28, 2022
Apr 26, 2021
May 5, 2021
Oct 7, 2016
Jan 11, 2018
May 27, 2015
Oct 15, 2016
May 22, 2014
Dec 22, 2016
Feb 24, 2014
Dec 26, 2016
Sep 28, 2022
May 27, 2015
May 5, 2021

Repository files navigation

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

Whitespace package

OS X Build Status Windows Build Status Dependency Status

Strips trailing whitespace and adds a trailing newline when an editor is saved.

To disable/enable features for a certain language package, you can use syntax-scoped properties in your config.cson. E.g.

'.slim.text':
  whitespace:
    removeTrailingWhitespace: false

You find the scope on top of a grammar package's settings view.

Note: for .source.jade, .source.diff, .source.pug and .source.patch, removing trailing whitespace is disabled by default.