-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Underline red snippet output in no-color mode
- Loading branch information
1 parent
501abb1
commit de08893
Showing
45 changed files
with
870 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
author: nicolas.van.phan | ||
description: "\\n\\nFor the following piece of code, with a string that has nothing to do here :\\n\\n\\n```\\nlet main {| I should be underlined in\\n error message with no-color and\\n I am a long message spreading\\n on 4 lines |} blah-blah\\n\\n```\\n\\n#### Before\\n\\n\\n```\\n> ligo compile contract --no-color contract.mligo\\nFile \"contract.mligo\", line 2, character 9 to line 5, character 15:\\n 1 | \\n 2 | let main {| I should be underlined in\\n 3 | error message with no-color and\\n 4 | I am a long message spreading\\n 5 | on 4 lines |} blah-blah\\nIll-formed value declaration.\\nAt this point, one of the following is expected:\\n * parameters as irrefutable patterns, e.g. variables, if defining a\\n function;\\n * the assignment symbol '=' followed by an expression;\\n * a type annotation starting with a colon ':';\\n * a comma ',' followed by another tuple component, if defining a\\n tuple.\\n\\n```\\n\\n#### After\\n\\n\\n```\\n> ligo compile contract --no-color contract.mligo\\nFile \"contract.mligo\", line 2, character 9 to line 5, character 15:\\n 1 | \\n 2 | let main {| I should be underlined in\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n 3 | error message with no-color and\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n 4 | I am a long message spreading\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n 5 | on 4 lines |} blah-blah\\n ^^^^^^^^^^^^^^^\\nIll-formed value declaration.\\nAt this point, one of the following is expected:\\n * parameters as irrefutable patterns, e.g. variables, if defining a\\n function;\\n * the assignment symbol '=' followed by an expression;\\n * a type annotation starting with a colon ':';\\n * a comma ',' followed by another tuple component, if defining a\\n tuple.\\n\\n```\\n\\n" | ||
merge_request: '2547' | ||
title: "Underline red snippet output in no-color mode" | ||
type: added | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.