1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 16:45:40 +01:00

Merge pull request #234 from danielharbor/master

Fix fsharp.nanorc formatting issues
This commit is contained in:
Anthony Scopatz 2019-06-29 07:25:04 -04:00 committed by GitHub
commit 77b1a65bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 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 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 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 # Annotation
color magenta "@[A-Za-z]+" color magenta "@[A-Za-z]+"
@ -18,9 +19,10 @@ color cyan "\<(abstract|and|let|as|assert|base|begin|class|default|de
color red "[-+/*=<>?:!~%&|]" color red "[-+/*=<>?:!~%&|]"
color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>" color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
color yellow ""(\\.|[^"])*"" # String
color magenta "\\([btnfr]|'|\"|\\)" color magenta "\\([btnfr]|'|\"|\\)"
color magenta "\\u[A-Fa-f0-9]{4}" color magenta "\\u[A-Fa-f0-9]{4}"
# String
color yellow ""(\\.|[^"])*""
# Comments # Comments
color brightblack "(^|[[:space:]])//.*" color brightblack "(^|[[:space:]])//.*"