File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,32 @@ export const Markdown: AutocompleteLanguageInfo = {
281
281
} ,
282
282
} ;
283
283
284
+ export const OCaml : AutocompleteLanguageInfo = {
285
+ topLevelKeywords : [
286
+ "let" ,
287
+ "type" ,
288
+ "module" ,
289
+ "open" ,
290
+ "if" ,
291
+ "then" ,
292
+ "else" ,
293
+ "match" ,
294
+ "with" ,
295
+ "fun" ,
296
+ "val" ,
297
+ "exception" ,
298
+ "rec" ,
299
+ "struct" ,
300
+ "sig" ,
301
+ "end" ,
302
+ ] ,
303
+ singleLineComment : "(* *)" ,
304
+ endOfLine : [ ";" ] ,
305
+ stopWords : [ ] ,
306
+ lineFilters : [ ] ,
307
+ useMultiline : undefined ,
308
+ } ;
309
+
284
310
export const LANGUAGES : { [ extension : string ] : AutocompleteLanguageInfo } = {
285
311
ts : Typescript ,
286
312
js : Typescript ,
@@ -321,4 +347,6 @@ export const LANGUAGES: { [extension: string]: AutocompleteLanguageInfo } = {
321
347
yaml : YAML ,
322
348
yml : YAML ,
323
349
md : Markdown ,
350
+ ml : OCaml ,
351
+ mli : OCaml
324
352
} ;
You can’t perform that action at this time.
0 commit comments