@codingame/monaco-vscode-fsharp-default-extension 1.83.15 → 1.85.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
5
5
  "Once accepted there, we are happy to receive an update request."
6
6
  ],
7
- "version": "https://github.com/ionide/ionide-fsgrammar/commit/8740e610a367c5e3f15be716acc7207655ced4cf",
7
+ "version": "https://github.com/ionide/ionide-fsgrammar/commit/078bbf85225b82de3ae4c2db7ee74d9239b249ce",
8
8
  "name": "fsharp",
9
9
  "scopeName": "source.fsharp",
10
10
  "patterns": [
@@ -590,8 +590,8 @@
590
590
  },
591
591
  {
592
592
  "name": "comment.line.markdown.fsharp",
593
- "begin": "///",
594
- "while": "///",
593
+ "begin": "(?<![!%&+-.<=>?@^|/])///(?!/)",
594
+ "while": "(?<![!%&+-.<=>?@^|/])///(?!/)",
595
595
  "patterns": [
596
596
  {
597
597
  "include": "text.html.markdown"
@@ -600,7 +600,7 @@
600
600
  },
601
601
  {
602
602
  "name": "comment.line.double-slash.fsharp",
603
- "match": "//.*$"
603
+ "match": "(?<![!%&+-.<=>?@^|/])//(?![!%&+-.<=>?@^|]).*$"
604
604
  }
605
605
  ]
606
606
  },
@@ -1125,7 +1125,7 @@
1125
1125
  },
1126
1126
  {
1127
1127
  "name": "keyword.symbol.fsharp",
1128
- "match": "(&&&|\\|\\|\\||\\^\\^\\^|~~~|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)"
1128
+ "match": "(&&&|\\|\\|\\||\\^\\^\\^|~~~|~\\+|~\\-|<<<|>>>|\\|>|:>|:\\?>|:|\\[|\\]|\\;|<>|=|@|\\|\\||&&|&|%|{|}|\\||_|\\.\\.|\\,|\\+|\\-|\\*|\\/|\\^|\\!|\\>|\\>\\=|\\>\\>|\\<|\\<\\=|\\(|\\)|\\<\\<)"
1129
1129
  }
1130
1130
  ]
1131
1131
  },
@@ -1133,7 +1133,7 @@
1133
1133
  "patterns": [
1134
1134
  {
1135
1135
  "name": "entity.name.section.fsharp",
1136
- "begin": "\\b(namespace global)|\\b(namespace|module)\\s*(public|internal|private|rec)?\\s+([[:alpha:]][[:alpha:]0-9'_. ]*)",
1136
+ "begin": "\\b(namespace global)|\\b(namespace|module)\\s*(public|internal|private|rec)?\\s+([[:alpha:]|``][[:alpha:]0-9'_. ]*)",
1137
1137
  "end": "(\\s?=|\\s|$)",
1138
1138
  "beginCaptures": {
1139
1139
  "1": {
@@ -1171,7 +1171,7 @@
1171
1171
  },
1172
1172
  {
1173
1173
  "name": "namespace.open.fsharp",
1174
- "begin": "\\b(open type|open)\\s+([[:alpha:]][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
1174
+ "begin": "\\b(open type|open)\\s+([[:alpha:]|``][[:alpha:]0-9'_]*)(?=(\\.[A-Z][[:alpha:]0-9_]*)*)",
1175
1175
  "end": "(\\s|$)",
1176
1176
  "beginCaptures": {
1177
1177
  "1": {
@@ -1331,7 +1331,7 @@
1331
1331
  "match": "\\(\\)"
1332
1332
  },
1333
1333
  {
1334
- "match": "(\\?{0,1})(``[[:alpha:]0-9'`^:,._ ]+``|(?!private\\b)\\b[\\w[:alpha:]0-9'`<>^._ ]+)",
1334
+ "match": "(\\?{0,1})(``[[:alpha:]0-9'`^:,._ ]+``|(?!private|struct\\b)\\b[\\w[:alpha:]0-9'`<>^._ ]+)",
1335
1335
  "captures": {
1336
1336
  "1": {
1337
1337
  "name": "keyword.symbol.fsharp"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-fsharp-default-extension",
3
- "version": "1.83.15",
3
+ "version": "1.85.0-next.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,6 +18,6 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.15"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.85.0-next.0"
22
22
  }
23
23
  }