Skip to content

Commit 337cdb7

Browse files
committed
[f#] update grammar
1 parent b99929a commit 337cdb7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/fsharp/syntaxes/fsharp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/ionide/ionide-fsgrammar/commit/f2e3c30f0ebfcc89fb78ad908701159f20516812",
7+
"version": "https://github.com/ionide/ionide-fsgrammar/commit/826aa0690b4a1fb536485cc2806fa73b451fcee7",
88
"name": "fsharp",
99
"scopeName": "source.fsharp",
1010
"fileTypes": [
@@ -145,7 +145,7 @@
145145
"patterns": [
146146
{
147147
"name": "binding.fsharp",
148-
"begin": "\\b(val mutable|val|let mutable|let inline|let|member|static member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\([^\\s-]*\\)|[_[:alpha:]]([_[:alpha:]0-9,\\._]|(?<=,)\\s)*)",
148+
"begin": "\\b(val mutable|val|let mutable|let inline|let|member|static member|override|let!)(\\s+rec|mutable)?(\\s+\\[\\<.*\\>\\])?\\s*(private|internal|public)?\\s+(\\([^-]*\\)|\\[[^-=]*\\]|[_[:alpha:]]([_[:alpha:]0-9,\\._]|(?<=,)\\s)*|``[_[:alpha:]]([_[:alpha:]0-9,\\._`\\s]|(?<=,)\\s)*)",
149149
"end": "((``.*``)|(with)|=|$)",
150150
"beginCaptures": {
151151
"1": {

0 commit comments

Comments
 (0)