Skip to content
A consistent set of modes for C, C++, Java, Go, JavaScript, TypeScript, Python, HTML, and Angular Templates
JavaScript HTML C++ Go TypeScript Java Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist [cpp mode] Add support for property names in struct initializers Aug 15, 2019
src
test [cpp mode] Add support for property names in struct initializers Aug 15, 2019
.gitignore
LICENSE Add MIT license Jul 7, 2017
README.md
index.html [kotlin mode] Fix various issues Jul 21, 2019
package.json [kotlin mode] Fix various issues Jul 21, 2019
rollup.config.js Upgrade dependencies Sep 15, 2018

README.md

Google mode pack

This is a set of CodeMirror modes for C, C++, Java, Kotlin, Go, JavaScript, TypeScript, Python, HTML, and Angular Templates, providing a consistent highlighting style across these languages and an indentation style compatible with Google's style guides.

The repository contains the sources needed to create the modes. To actually build them, run npm install. That will create files for the different modes under dist/.

These modes are defined using the codemirror-grammar-mode tool, and have that tool's runtime as a client-side dependency.

You can’t perform that action at this time.