diff options
author | Tim Hatch <tim@timhatch.com> | 2014-05-19 15:53:46 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-05-19 15:53:46 -0700 |
commit | edc46a017c40943f841e217f7b9368920d7a03f5 (patch) | |
tree | 7e0319f7ee18d3c8428f39f43083ed7c6e59b988 /pygments/lexers/dotnet.py | |
parent | dc0fc3f80bb3e160c009303208d6d69e0bfa351d (diff) | |
download | pygments-edc46a017c40943f841e217f7b9368920d7a03f5.tar.gz |
Add 'emacs-lisp' alias to make org-mode happy.
Resolves #976
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': [ |