From 6ca7db70190eac7ac1e85818d8369d745ee2793b Mon Sep 17 00:00:00 2001 From: Martin Winandy Date: Wed, 2 Nov 2022 18:43:22 +0100 Subject: [PATCH] Fix typo --- lexers/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexers/README.md b/lexers/README.md index f729b4086..a205d89c8 100644 --- a/lexers/README.md +++ b/lexers/README.md @@ -41,6 +41,6 @@ Instead we have to perform both steps separately: + In the regular command prompt window, the `set` command sets an environment variable for the current session: `set RECORD=true`. See [this page](https://superuser.com/questions/212150/how-to-set-env-variable-in-windows-cmd-line) for more. + In PowerShell, you can use the `$env:RECORD = 'true'` command for that. See [this article](https://mcpmag.com/articles/2019/03/28/environment-variables-in-powershell.aspx) for more. + You can also make a persistent environment variable by hand in the Windows computer settings. See [this article](https://www.computerhope.com/issues/ch000549.htm) for how. -- When the environment variable is set, run `go tests ./lexers`. +- When the environment variable is set, run `go test ./lexers`. Chroma will now regenerate the test files and print its results to the console window.