1
Watch
0
Star
0
Fork
0
Issue

A consistent set of modes for C, C++, Java, Go, JavaScript, and Python

mtaran-google
mtaran-google
pushedAt 7 months ago

mtaran-google/google-modes

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.

ucloud ads