jerrykal / hyper-material-box

The most hackable theme for your favorite terminal Hyper
MIT License
30 stars 9 forks source link

Not working anymore #4

Closed mradzinski closed 7 years ago

mradzinski commented 7 years ago
materialBox: {
  scheme: 'material',
}

When placed inside module.exports/config throws: An error occurred loading your configuration (/Users/matias/.hyper.js): Unexpected identifier

jerrykal commented 7 years ago

@mradzinski Can you show me your .hyper.js ?

dpo commented 7 years ago

@mradzinski Perhaps you forgot to add a comma after the previous entry? In my case, I have

    copyOnSelect: false,   // <----- COMMA

    // if true, on right click selected text will be copied or pasted if no
    // selection is present (true by default on Windows)
    // quickEdit: true

    // URL to custom bell
    // bellSoundURL: 'http://example.com/bell.mp3',

    // for advanced config flags please refer to https://hyper.is/#cfg
    materialBox: {
      scheme: 'solarized-dark',
      //scheme: 'solarized-light',
    }
  },
mradzinski commented 7 years ago

It was actually being caused by a combination of my setup and a VERY weird Electron state. For some reason Hyper was reporting hyper-material-box as the one to blame for the error, but it was caused by another plugin (weird AF). No need to keep this open since it's working now and couldn't keep replicating the issue.