Skip to content

Commit

Permalink
Fix fsharp.nanorc formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dharbor-paypal committed Jun 29, 2019
1 parent 28d3a68 commit 531b706
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fsharp.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ color brightgreen "type +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
color brightgreen "module +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
color brightmagenta "\<(List|Seq|Array|Option|Choice|Map|list|seq|array|option|choice|ref|in|out)\>"
color brightgreen "<+[A-Za-z0-9'^]+ *((:) +[A-Za-z0-9'^.]+)?>"
color brightmagenta "[<+[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?>]" # Attributes
# Attributes
color brightmagenta "[<+[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?>]"

# Annotation
color magenta "@[A-Za-z]+"
Expand All @@ -18,9 +19,10 @@ color cyan "\<(abstract|and|let|as|assert|base|begin|class|default|de

color red "[-+/*=<>?:!~%&|]"
color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
color yellow ""(\\.|[^"])*"" # String
color magenta "\\([btnfr]|'|\"|\\)"
color magenta "\\u[A-Fa-f0-9]{4}"
# String
color yellow ""(\\.|[^"])*""

# Comments
color brightblack "(^|[[:space:]])//.*"
Expand All @@ -34,4 +36,4 @@ color ,red " + +| + +"
color red "#if .+"
color red "#endif"

color white start="``" end="``"
color white start="``" end="``"

0 comments on commit 531b706

Please sign in to comment.