amp icon indicating copy to clipboard operation
amp copied to clipboard

Error when loading sublime/Latex package

Open nochiel opened this issue 7 years ago • 2 comments

Steps

  • Copy https://github.com/sublimehq/Packages/tree/master/LaTeX to ~/.config/amp/syntaxes
  • amp

Observed

  • error: Failed to load user syntaxes: ParseSyntax(TypeMismatch)

Expected

  • No error.

Questions

  • What's the usual workflow when debugging user config?
  • Is there a command line flag to allow amp to generate verbose debug output?

ps. Thanks for the excellent work. A fast editor with well thought out, modern defaults, and without a bloated runtime or baroque, slow gc'd extension language is very much appreciated.

nochiel avatar Jan 28 '18 12:01 nochiel

Thanks for the kind words, @nochiel!

Amp doesn't support Sublime Text packages, but it should support the syntax definitions. Try taking one of the .sublime-syntax files in that package and putting it directly in the syntaxes directory. If that blows up, we have a bug on our hands. 🙂

jmacdonald avatar Feb 10 '18 02:02 jmacdonald

Try taking one of the .sublime-syntax files in that package and putting it directly in the syntaxes directory. If that blows up, we have a bug on our hands.

Specifically that the LaTex.sublime-syntax file from that package causes amp to error out.

nochiel avatar Feb 10 '18 11:02 nochiel