Git Product home page Git Product logo

language-jsonnet's Introduction

language-jsonnet's People

Contributors

davidzchen avatar gburiola avatar mcgodes avatar raynix avatar sparkprime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

language-jsonnet's Issues

Add .libsonnet extension

Ksonnet is getting popular in the Kubernetes community and .libsonnet is being used as a file extension for libraries. Supporting it out of the box would be nice!

File path '/*' shows as comment

I have a file with '/path/to/file/*' in a string, and the entire rest of the file is being highlighted as if it were a multi-line comment. However, since this is inside of a string, it should not create a comment, just like in atom's default js syntax highlighting.

screen shot 2019-01-15 at 4 24 06 pm

Invalid regex: nothing to repeat

๐Ÿ‘‹ I'm the lead maintainer of the https://github.com/github/linguist library which is used for language detection and providing the syntax highlighting for languages on GitHub.com, and we use this grammar.

Our grammar compiler has found a problem with your grammar which I thought I'd let you know about.

This regex is invalid as it has nothing to repeat at offset 43:

'match': '\\b[a-zA-Z_][a-z0-9A-Z_]*\\s*(\\([^)]*\\))?\\s*+?::?:?'

https://regex101.com/r/B1tYx6/1

This is the error our compiler reported:

Invalid regex in grammar: source.jsonnet (in grammars/jsonnet.cson) contains a malformed regex (regex "\b[a-zA-Z_][a-z0-9A-Z_]*\s*(\([^...": nothing to repeat (at offset 43))

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.