GithubHelp home page GithubHelp logo

Comments (3)

nmz787 avatar nmz787 commented on June 29, 2024

I do find the aforementioned syntax to perform better, I only had to add elseif to it's if|while line... but the odd thing is it will highlight "escape" characters, ex :abc\ted| the \t will be purple... but I'm not sure how to fix that at the moment. Is there any interest in incorporating their syntax file into this project? I would post an issue there, but they seem to have disabled them on their fork. This is the link to the specific file https://github.com/qjebbs/sublime_diagram_plugin/blob/master/diagram.sublime-syntax

from sublime_diagram_plugin.

nmz787 avatar nmz787 commented on June 29, 2024

Oh, just found I could comment out this block:

  Escape:
    # begins with \
      - match: \\.
        scope: constant.character.escape.wsd

to become

  # Escape:
  #   # begins with \
  #     - match: \\.
  #       scope: constant.character.escape.wsd

but ideally this could only fail to match if the line begins with :

from sublime_diagram_plugin.

nmz787 avatar nmz787 commented on June 29, 2024

eh, I guess both yours and theirs have their own issues... not sure how to merge the good parts effectively, since this is the first time I'm playing with these sublime syntax files. If I can improve yours, I'll post some changes in a new issue.

from sublime_diagram_plugin.

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.