Skip to content

Commit

Permalink
republish to vsmarketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
janw4ld committed Dec 31, 2024
1 parent 13058a7 commit afd8457
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 37 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.17

- Readme and metadata updates for VSMarketplace republication.

## v0.2.16

- Set the "custom titlebar" color to black.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "lambda-black",
"displayName": "Lambda Black",
"description": "Default dark+ theme with support for Haskell syntax colors and a black background variant.",
"description": "Default dark+ theme optimised for Haskell, groovy, C, python, nix & hcl syntax highlighting with a black background variant.",
"keywords": [
"haskell",
"terraform",
"groovy",
"black",
"dark",
"syntax highlighting",
"theme"
"syntax highlighting"
],
"icon": "img/icon.png",
"publisher": "janw4ld",
"version": "0.2.16",
"version": "0.2.17",
"homepage": "https://github.com/janw4ld/lambda-black",
"repository": {
"type": "git",
Expand Down
43 changes: 11 additions & 32 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# [Lambda Black](https://open-vsx.org/extension/janw4ld/lambda-black)

> [!IMPORTANT]
> I use neovim now! + I'm only releasing new updates to Open-VSX.
# [Lambda Black](https://marketplace.visualstudio.com/items?itemName=sheaf.groovylambda)

> [!NOTE]
> HLS now implements
> [semantic token highlights](https://github.com/haskell/haskell-language-server/pull/3892),
> these aren't supported by this theme, at least not yet.
> HLS now implements [semantic token highlights](https://github.com/haskell/haskell-language-server/pulld/3892) as an off by default LS-extension, they aren't supported by this theme, at least not yet.
__Lambda Black__ is a VS Code color theme optimised for Haskell with extra
syntax colors for more language scopes. It's based on
[Groovy Lambda](https://marketplace.visualstudio.com/items?itemName=sheaf.groovylambda)
but is very ungrooved, supports other languages than Haskell and improves their
highlighting as well.
__Lambda Black__ is a VS Code color theme optimised for Haskell with extra syntax colors for more language scopes. It's based on [Groovy Lambda](https://marketplace.visualstudio.com/items?itemName=sheaf.groovylambda) but is very ungrooved, supports other languages than Haskell and improves their highlighting as well.

## Color schemes

Expand All @@ -27,9 +18,7 @@ Dark+:

## Features

Lambda Black supports all TextMate scopes provided by the
[Haskell Syntax Highlighting](https://github.com/JustusAdam/language-haskell) VS
Code extension, making it able to:
Lambda Black supports all TextMate scopes provided by the [Haskell Syntax Highlighting](https://github.com/JustusAdam/language-haskell) VS Code extension, making it able to:

- disambiguate between data constructors and types in data declarations,
- distinguish qualified names from other identifiers,
Expand All @@ -41,11 +30,9 @@ Code extension, making it able to:

You can get Lambda Black from:

- [GitHub Releases](https://github.com/janw4ld/lambda-black/releases/latest),
install with `code --install-extension <file>.vsix`
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=janw4ld.lambda-black)
- [Open-VSX Registry](https://open-vsx.org/extension/janw4ld/lambda-black)
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=janw4ld.lambda-black),
not updated since v0.2.7
- [GitHub Releases](https://github.com/janw4ld/lambda-black/releases/latest), install with `code --install-extension <file>.vsix`

Or install it from source:

Expand All @@ -61,7 +48,6 @@ nix build github:janw4ld/lambda-black --refresh &&
1. Install dependencies:
- [git](https://git-scm.com/downloads)
- [npm](https://www.npmjs.com/get-npm), or pnpm or yarn
- and only on Linux, [libsecret](https://pkgs.org/download/libsecret)

1. Clone the repo, build and install the extension:

Expand All @@ -76,21 +62,14 @@ nix build github:janw4ld/lambda-black --refresh &&
# Customisation
To change how something is highlighted, proceed as follows:

- While browsing code containing highlighting you'd like to change, start the
TextMate scope inspector as follows:
- While browsing code containing highlighting you'd like to change, start the TextMate scope inspector as follows:
- open the VS Code Command Palette (Ctrl+Shift+P),
- start typing "Inspect Editor Tokens and Scopes" and select this item from
the dropdown menu.
- Click on the code whose highlighting you'd like to change; this will display
the TextMate scopes associated to that piece of code. For instance, `if` in a
Haskell source file is given the scope `keyword.control.if.haskell`.
- start typing "Inspect Editor Tokens and Scopes" and select this item from the dropdown menu.
- Click on the code whose highlighting you'd like to change; this will display the TextMate scopes associated to that piece of code. For instance, `if` in a Haskell source file is given the scope `keyword.control.if.haskell`.
- Open your `settings.json` file:
- open the VS Code Command Palette (Ctrl+Shift+P),
- start typing "Open Settings (JSON)" and select this item from the dropdown
menu.
- Make the modifications by editing `editor.tokenColorCustomizations` in your
settings. For instance, to highlight `if` and `then` in red and `else` in
blue, one would write:
- start typing "Open Settings (JSON)" and select this item from the dropdown menu.
- Make the modifications by editing `editor.tokenColorCustomizations` in your settings. For instance, to highlight `if` and `then` in red and `else` in blue, one would write:

```json
"editor.tokenColorCustomizations": {
Expand Down

0 comments on commit afd8457

Please sign in to comment.