|
il y a 5 ans | |
---|---|---|
grammars | il y a 5 ans | |
src | il y a 5 ans | |
.gitignore | il y a 5 ans | |
.prettierrc | il y a 5 ans | |
LICENSE | il y a 5 ans | |
README.md | il y a 5 ans | |
index.css | il y a 5 ans | |
index.html | il y a 5 ans | |
package.json | il y a 5 ans | |
tsconfig.json | il y a 5 ans | |
webpack.config.cjs | il y a 5 ans | |
yarn.lock | il y a 5 ans |
This attempts to get TextMate grammars working in standalne Monaco by leveraging
vscode-oniguruma
and vscode-textmate
. For more context, see:
https://github.com/microsoft/monaco-editor/issues/1915.
yarn install
yarn demo
Currently, I am trying to use this to verify I can get the Hack grammar working in standalone Monaco. Unfortunately, it is not working yet.
To try other languages, play with options
at the bottom of app.ts
.
I also took a brief look at:
I believe that demo reimplements some of what vscode-textmate
provides.
I would prefer to have something as close to the VS Code implementation as
possible.