This package now uses the Atom language package to generate a grammar.
This can be updated manually using the following process:
-
Install the
cson
npm packagenpm install --global cson
-
Retrieve and convert the grammar:
curl https://raw.githubusercontent.com/asciidoctor/atom-language-asciidoc/master/grammars/language-asciidoc.cson | cson2json > ./syntaxes/Asciidoctor.json
-
Now manually edit and change the scope name from:
"scopeName": "source.asciidoc",
to
"scopeName": "text.asciidoc",
Because this package has diverged slightly from upstream it may be best to cherry-pick commits after the original conversion or do before/after comparisons and account for each change.
Where possible it is recommended to do PRs upstream and then use that result here.