Skip to content

sync issue with nested objects, specifically terminal plus #180

Closed
@dustinsanders

Description

description

During the translation to .json on a backup and back to .cson on a restore some of properties do not get applied, specifically I have seen this with the terminal-plus package and settings that are deeply nested

snippet from backup settings.json

"terminal-plus": {
        "ansiColors": {
            "normal": {
                "blue": {
                    "red": 120,
                    "green": 170,
                    "blue": 214,
                    "alpha": 1
                },
                "cyan": {
                    "red": 118,
                    "green": 212,
                    "blue": 214,
                    "alpha": 1
                },
                "green": {
                    "red": 168,
                    "green": 212,
                    "blue": 169,
                    "alpha": 1
                },
                "magenta": {
                    "red": 215,
                    "green": 172,
                    "blue": 214,
                    "alpha": 1
                },
                "red": {
                    "red": 249,
                    "green": 140,
                    "blue": 138,
                    "alpha": 1
                },
                "white": {
                    "red": 214,
                    "green": 214,
                    "blue": 214,
                    "alpha": 1
                },
                "yellow": {
                    "red": 255,
                    "green": 212,
                    "blue": 121,
                    "alpha": 1
                }
            }
        },
        "core": {},
        "style": {
            "animationSpeed": 0,
            "fontSize": "11",
            "theme": "ocean"
        },
        "toggles": {
            "cursorBlink": false
        }
    }

config.cson after restore

"terminal-plus":
    style:
      animationSpeed: 0
      fontSize: "11"
      theme: "ocean"
    toggles:
      cursorBlink: false

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions