Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ksyaml outputs empty string #11

Open
Ghibranalj opened this issue Jul 31, 2022 · 1 comment
Open

ksyaml outputs empty string #11

Ghibranalj opened this issue Jul 31, 2022 · 1 comment

Comments

@Ghibranalj
Copy link
Contributor

With the following yaml ksyaml outputs empty :(

# This uses kambing style yaml

# Colors (Material Theme)
colors: {
    # Default colors
    primary: { background: "0x212121", foreground: "0xc4c7d1" },
    # Normal colors
    normal:
      {
        black: "0x666666",
        red: "0xf57373",
        green: "0xc3e88d",
        yellow: "0xf7eb95",
        blue: "0x80cbc4",
        magenta: "0xff2f90",
        cyan: "0xaeddff",
        white: "0xffffff",
      },
    # Bright colors
    bright:
      {
        black: "0x5a5860",
        red: "0xf57373",
        green: "0xc3e88d",
        yellow: "0xf7eb95",
        blue: "0x7dc6bf",
        magenta: "0x6c71c4",
        cyan: "0x35434d",
        white: "0xffffff",
      },
  }

window:
  {
    padding: { x: 12, y: 12, dynamic_padding: false },

    opacity: 1.0,
    title: "Terminal",
  }

font:
  {
    normal: { family: Source Code Pro, style: semi-light },

    bold: { family: Source Code Pro, style: Regular },

    italic: { family: Source Code Pro, style: Italic },

    size: 11.0,

    offset: { x: 0, y: 1 },
  }

cursor: {
    # this is cursor
    style: beam,
  }
@Ghibranalj
Copy link
Contributor Author

Its an AST issue. I reported it here.

Ghibranalj added a commit that referenced this issue Aug 1, 2022
Ghibranalj added a commit that referenced this issue Aug 3, 2022
* fix: literal string bugs #11 & #8

* test: adjust literal test cases to fit the spec

* chore: removed known bug comment

* fix: string node quoute now escaped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant