;F# Syntax highlight Script for Twistpad
; https://docs.microsoft.com/en-us/dotnet/articles/fsharp/language-reference/keyword-reference

[::Header::]
SyntaxName=F#
Extensions=fs
Spelling=0 
SpellingContexts=1;2
CommentChar=//

[Numbers]
Type=Numbers
Context=1
Priority=7
ColorConstant=ColorNumbers
Bold=1
[Comment]

Type=StartStop
Context=2
Scope=0
Priority=10
WholeWordOnly=1
First=//
Last=
ColorConstant=ColorComments
italic=1

[Quote]
Type=StartStop
Context=3
Scope=0
Priority=10
WholeWordOnly=0
First="
Last="
ColorConstant=ColorStrings

[Preprocessors]
Type=keyword
Context=101
Scope=0
Priority=7
WholeWordOnly=1
Keyword1=#if;#else;#endif
ColorConstant=ColorKeyword2
Bold=1

[Keywords]
Type=keyword
Context=102
Scope=0
Priority=6
WholeWordOnly=1
Keyword1=abstract;and;as;assert;base;begin;class;default;delegate;do;done;downcast;downto;elif;else
Keyword2=end;exception;extern;false;finally;for;fun;function;global;if;in;inherit;inline;interface;internal
Keyword3=lazy;let;match;member;module;mutable;namespace;new;null;of;open;or;override;private;public;rec
Keyword4=return;return;select;static;struct;then;to;true;try;type;upcast;use;use;val;void;when;while;with;yield
ColorConstant=ColorKeyword1
Bold=0


