diff options
Diffstat (limited to 'pygments/lexers/dotnet.py')
-rw-r--r-- | pygments/lexers/dotnet.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py index eb18df71..679a335f 100644 --- a/pygments/lexers/dotnet.py +++ b/pygments/lexers/dotnet.py @@ -536,6 +536,9 @@ class FSharpLexer(RegexLexer): """ For the F# language (version 3.0). + AAAAACK Strings + http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/spec.html#_Toc335818775 + .. versionadded:: 1.5 """ @@ -635,6 +638,8 @@ class FSharpLexer(RegexLexer): (r"'.'", String.Char), (r"'", Keyword), # a stray quote is another syntax element + (r'@?"', String.Double, 'string'), + (r'[~?][a-z][\w\']*:', Name.Variable), ], 'dotted': [ |