Skip to content

Attempt to get TextMate grammars working in standalone Monaco

License

Notifications You must be signed in to change notification settings

ohtuprojekti-eficode/monaco-tm

 
 

Repository files navigation

Robot Framework syntax highlighting test

An example program with Robot Framework syntax highlighting using Monaco Editor and TextMate grammar file.

Includes two added grammars in the grammars folder: robot.tmLanguage from Tomi Turtiainen's language server and robotframework.tmLanguage.json from the official Robocorp language server. Using the latter by default since it seems to be more extensive.

The robot.json file in configurations folder is also taken from the Robocorp language server. I had to change it a little bit to get it to work.

Otherwise I just followed the instructions that are included in app.ts.

The original README is below 👇

monaco-tm

This gets TextMate grammars working in standalone Monaco by leveraging vscode-oniguruma and vscode-textmate. For more context, see: microsoft/monaco-editor#1915.

Run demo

Currently, only the Python grammar and VS Code Dark+ themes are included in the demo.

About

Attempt to get TextMate grammars working in standalone Monaco

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.6%
  • JavaScript 4.5%
  • Other 0.9%