-
Notifications
You must be signed in to change notification settings - Fork 17
Conversation
The grammar was converted to CSON by the conversion script added in f3574068575a2a7b2c67e71a0e7416f9a6596ffe
👍 👍 👍 Please, join our discussion about future release SublimeText/PowerShell#78 |
...even though there's only one of them for now.
Here's some failing tests i'm noticing that i suspect may need updating in the parent grammar. Update: i'm skipping these tests while waiting on their issues.
|
Thanks for adding that issue! i was planning on it once i was sure it was not a problem with my stuff. |
i've just pushed a ton of commits... mind reviewing the test failures as you can @vors? |
More things i'm not sure what to do with:
|
|
wow, you are really dig into the spec. :) I will take a close look to test failures later today. |
I have to because I never use any of that stuff! Also, a lot of those tests If you want I don't mind opening issues, as long as you're ok with me
|
oh, please do! |
Trying to weigh how much i want to dig into the original repo! We'll see. |
For now, i'm going to put notes in the code to skip the failing tests and push this through as a new major version. i think this stuff with its few failures is still an improvement from the current version. |
We'll skip these tests while waiting for discussions on the parent grammar to settle out. See SublimeText/PowerShell#103 for more information.
i don't think this is a show-stopper, for the moment. Waiting on SublimeText/PowerShell#104.
Best way to pass tests? SKIP 'EM! Waiting on this to pass ci, then i'll pull in these changes and publish a new major version from there 😄 |
|
||
describe "Keywords", -> | ||
describe "Block keywords", -> | ||
# TODO: Add "sequence", "workflow" to keywords |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workflow
is the same as function
in our current grammar https://github.com/SublimeText/PowerShell/blob/master/Support/PowershellSyntax.tmLanguage#L525 for sequence I opened SublimeText/PowerShell#105
👏 |
This PR vendors the SublimeText/PowerShell repository to generate the Atom grammar cson file for this Atom language grammar. This is as per discussion in #35.
Vendoring this work seems reasonable considering @vors qualifications 😉 and (at this moment) github's linguist vendors this same repository for their own code highlighting.
Right now, i've submoduled that repository and wrote a quick script that will translate it's plist
tmLanguage
file to cson.There's probably a few more things i should pin down before closing this out: