GithubHelp home page GithubHelp logo

Comments (2)

jonorthwash avatar jonorthwash commented on June 10, 2024

I'm also having trouble adding new languages.

I've managed to get rtx format detected and to load the tree-sitter-rtx module, but there's no highlighting. I think I'm missing one piece of the puzzle still?

You can view my work on this to date and an example of rtx format.

from syntax-highlighter.

tinygiant98 avatar tinygiant98 commented on June 10, 2024

@jonorthwash Don't know if this will help. I probably can't do much for you since I haven't touched this in quite some time as we developed a different solution while waiting for tree-sitter-graph to get further along. I did have another "language" successfully using syntax highlighting based on this extension and a new tree-sitter grammar. The biggest challenge I remember having is compiling the wasm after a grammar change.

This is the extension repo for my version (not many changes): https://github.com/tinygiant98/syntax-highlighter
This is the tree-sitter repo for the language we were adding: https://github.com/tinygiant98/tree-sitter-nwscript

Hope some of this helps. It worked really well for the six or so months we used it.

from syntax-highlighter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.