3# http://www.sublimetext.com/docs/3/syntax.html
18 - include: method_calls
20 - include: anonymous_functions
25 1: keyword.other.function-definition.fsharp
27 - meta_scope: meta.function.anonymous
30 1: keyword.other.fsharp
36 - meta_scope: support.function.attribute.fsharp
43 1: punctuation.definition.string.begin.fsharp
45 - meta_scope: string.quoted.single.fsharp
48 1: punctuation.definition.string.end.fsharp
51 scope: punctuation.separator.string.ignore-eol.fsharp
52 - match: '\\([\\""ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})'
53 scope: constant.character.string.escape.fsharp
54 - match: '\\(?![\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8}).'
55 scope: invalid.illeagal.character.string.fsharp
57 - match: \(\*\*?(\*)\)
58 scope: comment.block.fsharp
60 1: comment.block.empty.fsharp
63 - meta_scope: comment.block.fsharp
68 scope: comment.line.double-slash.fsharp
71 scope: constant.language.unit.fsharp
72 - match: '\b-?[0-9][0-9_]*((\.([0-9][0-9_]*([eE][+-]??[0-9][0-9_]*)?)?)|([eE][+-]??[0-9][0-9_]*))'
73 scope: constant.numeric.floating-point.fsharp
74 - match: '\b(-?((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(0(o|O)[0-7][0-7_]*)|(0(b|B)[01][01_]*)|([0-9][0-9_]*)))'
75 scope: constant.numeric.integer.nativeint.fsharp
77 - match: '\b(val|val|let|and|member|override|use)\s?(rec|inline|mutable)?(\s+\(?([a-zA-Z.\|_][a-zA-Z0-9.|_]*)\)?\w*)\b'
79 1: keyword.other.binding.fsharp
80 2: keyword.other.function-recursive.fsharp
81 3: variable.other.binding.fsharp
83 - meta_scope: meta.binding.fsharp
86 1: punctuation.separator.function.type-constraint.fsharp
89 - match: \b(let)\s+((\(\))|(_))\s+=
90 scope: meta.expression.fsharp
92 1: keyword.other.binding.fsharp
93 2: keyword.other.function-recursive.fsharp
94 4: constant.language.unit.fsharp
95 5: constant.language.ignored.fsharp
97 - match: ^\s*#\s*(light|if|else|endif|r|I|load|time|help|quit)\b
99 - meta_scope: meta.preprocessor.fsharp
102 - match: \b(new|in|as|if|then|else|elif|for|begin|end|match|with|type|inherit|true|false|null|do)\b
103 scope: keyword.other.fsharp
104 - match: '(\|>|\|?>|\->|\<\-|:>|:|\[|\]|\;|\||_)'
107 - match: '(?<!\w)([a-z]\w*)(\.)'
109 - meta_scope: meta.method-call.fsharp
110 - match: '[A-Z]\w*(\.)'
111 scope: meta.method.fsharp
113 1: punctuation.separator.method-call.fsharp
117 - match: '\b(namespace|module)\s+([a-zA-Z][a-zA-Z0-9''_.]*)'
119 1: keyword.other.fsharp
120 2: entity.name.section.fsharp
122 - meta_scope: meta.module.namespace.fsharp
125 - match: '(\.)([A-Z][a-zA-Z0-9''_]*)'
126 scope: support.other.module.fsharp
128 1: punctuation.separator.module-reference.fsharp
129 2: support.other.module.fsharp
130 - match: '\b(open)\s+([A-Z][a-zA-Z0-9''_]*)(?=(\.[A-Z][a-zA-Z0-9_]*)*)'
132 1: keyword.other.fsharp
133 2: support.other.module.fsharp
135 - meta_scope: meta.module.open.fsharp
138 - match: '(\.)([A-Z][a-zA-Z0-9''_]*)'
139 scope: support.other.module.fsharp
141 1: punctuation.separator.module-reference.fsharp
142 2: support.other.module.fsharp
143 - match: '^\s*(module)\s+([A-Z][a-zA-Z0-9''_]*)\s*(=)\s*([A-Z][a-zA-Z0-9''_]*)'
145 1: keyword.other.module-definition.fsharp
146 2: entity.name.type.module.fsharp
147 3: punctuation.separator.module-definition.fsharp
148 4: support.other.module.fsharp
150 - meta_scope: meta.module.alias.fsharp
153 - match: '(\.)([A-Z][a-zA-Z0-9''_]*)'
154 scope: support.other.module.fsharp
156 1: punctuation.separator.module-reference.fsharp
157 2: support.other.module.fsharp
158 - match: '(?<!\w)([A-Z][a-zA-Z0-9_]*)(\.)'
160 1: support.other.module.fsharp
161 2: punctuation.separator.module-reference.fsharp
163 - meta_scope: meta.module.reference.fsharp
164 - match: '[A-Z][a-zA-Z0-9_]+(\.)'
165 scope: support.other.module.fsharp
167 1: punctuation.separator.module-reference.fsharp
171 - match: '(?=[^\\])(""")'
173 1: punctuation.definition.string.begin.fsharp
175 - meta_scope: string.quoted.double.fsharp
178 1: punctuation.definition.string.end.fsharp
181 scope: punctuation.separator.string.ignore-eol.fsharp
182 - match: '(?=[^\\])(@")'
184 1: punctuation.definition.string.begin.fsharp
186 - meta_scope: string.quoted.double.fsharp
189 1: punctuation.definition.string.end.fsharp
192 scope: punctuation.separator.string.ignore-eol.fsharp
193 - match: '(?=[^\\])(")'
195 1: punctuation.definition.string.begin.fsharp
197 - meta_scope: string.quoted.double.fsharp
200 1: punctuation.definition.string.end.fsharp
203 scope: punctuation.separator.string.ignore-eol.fsharp
204 - match: '\\([\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})'
205 scope: constant.character.string.escape.fsharp
206 - match: '\\(?![\\''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8}).'
207 scope: invalid.illeagal.character.string.fsharp
208 - match: '(?=[^\\])('')'
210 1: punctuation.definition.string.begin.fsharp
212 - meta_scope: string.quoted.double.fsharp
215 1: punctuation.definition.string.end.fsharp
218 scope: punctuation.separator.string.ignore-eol.fsharp
219 - match: '\\([\\"ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})'
220 scope: constant.character.string.escape.fsharp
221 - match: '\\(?![\\"ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8}).'
222 scope: invalid.illeagal.character.string.fsharp
226 - meta_scope: meta.paren-group.fsharp
232 scope: variable.parameter.unit.fsharp
233 - match: '[a-zA-Z]\w*'
234 scope: variable.parameter.fsharp
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list