Home

Awesome

Groovy Lambda

<p align="center"> <a href="https://marketplace.visualstudio.com/items?itemName=sheaf.groovylambda"> <img src="https://vsmarketplacebadge.apphb.com/version-short/sheaf.groovylambda.svg?style=flat-square" alt="GroovyLambda VS Code marketplace version"> </a> </p>

Groovy Lambda is a simple VS Code color theme optimised for Haskell, based on Gruvbox Material Dark.

Supports the TextMate scopes provided by the Language Haskell VS Code extension:

<p align="center"> <img src="img/screenshot.png" alt="GroovyLambda example highlighting"> </p>

Installation

The theme can be installed directly from VS Code: search for Groovy Lambda in the extensions, and install.
See also the its VS Code marketplace page.

Customisation

To change how something is highlighted, proceed as follows:

    "editor.tokenColorCustomizations": {
      "textMateRules": [
        {
          "scope": [ "keyword.control.if", "keyword.control.then" ],
          "settings": {
            "foreground": "#ff0000"
          }
        },
        {
          "scope": "keyword.control.else",
          "settings": {
            "foreground": "#0000ff"
          }
        }
      ]
    }