Skip to content

Syntax highlighting for geojson #3083

@mvaaltola

Description

@mvaaltola

Syntax:
I would like bat to support syntax highlighting for GeoJSON files out of the box.
GeoJSON is a format for encoding a variety of geographic data structures. See geojson.org. Example:

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [125.6, 10.1]
  },
  "properties": {
    "name": "Dinagat Islands"
  }
}

As GeoJSON is JSON, running bat file.geojson -l json works well.

This request is very similar to #2535 and #3036.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions