Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax highlighting often misses the accordion operator close #1

Open
schwehr opened this issue Feb 23, 2022 · 3 comments
Open

syntax highlighting often misses the accordion operator close #1

schwehr opened this issue Feb 23, 2022 · 3 comments

Comments

@schwehr
Copy link

schwehr commented Feb 23, 2022

I have seen this quite a few times. I can share more examples if it helps. The files are all from the Google Earth Engine STAC catalog that uses Jsonnet as the original source files. STAC is SpatioTemporal Asset Catalogs

        name: 'landcover',
        description: |||
          All images except NCLD2011_HI and NLCD2011_PR include the
          landcover classification scheme described in the
          [2016 Product Legend](https://www.mrlc.gov/data/legends/national-land-cover-database-2016-nlcd2016-legend).
          The legends are also available as metadata on each image.
          The classes in the 2016 product legend are given below.
        |||,
        'gee:classes': [
          {
            value: 11,
            color: '466b9f',
            description: 'Open water: areas of open water, generally with less than 25% cover of vegetation or soil.',
          },
@liamdawson
Copy link
Owner

Thanks for the report! Given I did a lift-and-shift to set this plugin up, I'm unlikely to address this particularly soon.

If anyone's familiar with Textmate grammars etc., I'd be particularly grateful for a PR!

@schwehr
Copy link
Author

schwehr commented Feb 24, 2022

If I can figure out how to setup some sort of stand alone test for it, I can try to take a go at fixing it up. Any hints would be awesome. I'm a very indirect user of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants