Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.39 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.39 KB

Soft Wrap Indicator Build Status Dependency Status

Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled.

Usage

The indicator is present when the active pane is an editor and removed when the active pane is anything else. The indicator is lit when soft wrap is enabled on the active editor and dark if not.

Indicator Lit:

Indicator Lit

Indicator Dark:

Indicator Dark

Styles

The soft wrap indicator can be styled using the following classes:

  • .soft-wrap-indicator - For styling all instances of the indicator
  • .soft-wrap-indicator.lit - For styling the indicator when lit

It uses the following values from ui-variables as defaults in order to blend in to your theme:

  • @text-color - Text color when not lit
  • @text-color-highlight - Text color when lit

By default it also includes a blurred text shadow to give it a kind of glow when lit.

License

MIT