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

Cannot scope whitespace configuration to YAML files #193

Open
1 task done
maugusto-cit opened this issue Jun 30, 2020 · 0 comments
Open
1 task done

Cannot scope whitespace configuration to YAML files #193

maugusto-cit opened this issue Jun 30, 2020 · 0 comments

Comments

@maugusto-cit
Copy link

maugusto-cit commented Jun 30, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant