Syntax grammar used for C# colorization
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
grammars Implement character escape sequences for string/char fixes #28 Oct 29, 2018
.editorconfig Import code. Dec 20, 2016
.gitignore Include grammars in repo Jan 24, 2017
.travis.yml Remove the npm package publishing setup. Jan 25, 2017
LICENSE Remove the npm package publishing setup. Jan 25, 2017
package.json Update to Gulp v4 to fix vulnerabilities Nov 1, 2018
tsconfig.json Ensure that 'await' is highlighted properly in situations where it mi… Sep 1, 2017


To build and test install Node.js do the following:

  • Run npm install to install any dependencies.
  • Run gulp to build and run tests.

Output grammars are output in the grammars\ dirctory.

On Windows you may see a node-gyp error - follow the instrutions here to resolve it.

Supported outputs

  • grammars\csharp.cson - for Atom
  • grammars\csharp.tmLanguage - TextMate grammar (XML plist)


Tags on this repo get automatically published as a GitHub release and an NPM package through Travis CI.