amp
amp copied to clipboard
Typescript Syntax highlighting by default
It would be very helpful to include Typescript syntax highlighting by default, given its increasing interest over the past couple years. Here's a ts.sublime-syntax
that should work fine for the mean time for everyone else.
Thanks for this! We're currently leaning on the syntect crate for built-in syntaxes; I think it's worth owning that responsibility in Amp so that we can include these without having to upstream them into that crate. 🙂
@bucktower mind adding that to the wiki as well? https://github.com/jmacdonald/amp/wiki
@jmacdonald How about going like composition and not including specific syntax highlighting to keep amp
fast and minimal?
@jedahan I have some (like Coffeescript, Elixir, Dockerfile, Vue, etc) that I converted from .tmLanguage to .sublime-syntax but I don't know if I can share them on the wiki without attribution etc (I did not trace it and I don'r remember)
@pbgc I think if you make a repository under your name with your conversions, and write a readme that says "I don't remember where I got all of these. If its yours, let me know and I will add attribution" are you comfortable with that?
@azbshiri I think that'd violate Amp's philosophy of "batteries included"; major languages/formats should work out of the box. :slightly_smiling_face:
JSX should be included too !!