We planned to upgrade GitLab and Mattermost to the latest version this Friday morning (early). You may experience some downtime!

Verified Commit 26a5605a authored by Camil Staps's avatar Camil Staps 🚀

Add pattern for syntax entry for overloaded lists

parent 0e7de59a
Pipeline #44651 passed with stages
in 19 minutes and 24 seconds
......@@ -512,7 +512,7 @@ bs_let_before =
bs_list_expressions =
{ syntax_title = "list expression"
, syntax_patterns = map exact ["list", "\\[\\]", "\\[:\\]", ":", "\\[\\w:\\w\\]", "\\['.*"]
, syntax_patterns = map exact ["list", "\\[\\]", "\\[\\|\\]?", "\\[:\\]", ":", "\\[\\w:\\w\\]", "\\['.*"]
, syntax_code = ["[]", "[...:...]", "[..., ..., ...]", "['...']"]
, syntax_description =
"A list can be composed of individual elements or a head and a tail. Special syntax is available for creating `[{{Char}}]` lists.\n\n" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment