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

Cannot scope whitespace configuration to YAML files #193

@maugusto-cit

Description

@maugusto-cit

Prerequisites

Description

I cannot scope whitespace configuration to YAML files as described here.

Steps to Reproduce

  1. Change config.cs to turn off removeTrailingWhitespace for YAML files (see attachment)
  2. Create a .yml file
  3. Add blank lines with trailing spaces (see attachment)
  4. Save the file

Expected behavior: The blank lines remain with the trailing spaces.

Actual behavior: The blank lines get the trailing spaces removed.

Reproduces how often: 100%

Versions

Atom : 1.48.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0
MacOS : 10.15.5 (19F101)
whitespace: 0.37.7
language-yaml: 0.32.0

Additional Information

If I change the general settings for whitespace to false it works. If I try to scope to YAML, it does not.

Attachments:

test.yml.txt
config.cson.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions