-
Notifications
You must be signed in to change notification settings - Fork 24
/
.merlin
43 lines (30 loc) · 1.84 KB
/
.merlin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# DO NOT EDIT THIS SECTION. CUSTOM CONFIG GOES BELOW
# This file is autogenerated for
# [Merlin](https://github.com/the-lambda-church/merlin), a static analyser for
# OCaml that provides autocompletion, jump-to-location, recoverable syntax
# errors, type errors detection, etc., that your editor can use. To activate it,
# one usually provides a .merlin file at the Path.the_root of a project, describing where
# the sources and artifacts are. Since we dictated the project structure, we can
# auto generate .merlin files!
# S is the merlin flag for source files
S src
# Include all the third-party sources too. You might notice that we've put a
# .merlin into each node_modules package. This is subtle; in short, it's to make
# jump-to-location work correctly in conjunction with our build & namespacing
# setup, when you jump into a third-party file.
# B stands for build (artifacts). We generate ours into _build
B ./_build/layoutTestFixedEncodingNative/*
B ./_build/layoutTestFixedEncodingByte/*
B ./_build/layoutTestFixedEncodingJsoo/*
B ./_build/measureTestFixedEncoding/*
# PKG lists packages found through ocamlfind (aka findlib), a tool for finding
# the location of third-party dependencies. For us, most of our third-party deps
# reside in `node_modules/` (made visible to Merlin through the S command
# above); this PKG command is for discovering the opam/ocamlfind packages.
# FLG is the set of flags to pass to Merlin, as if it used ocamlc to compile and
# understand our sources. You don't have to understand what these flags are for
# now; but if you're curious, go check the rebel.ml that generated this
# .merlin at https://github.com/reasonml/rebel
FLG -w -30 -w -40 -open LayoutTestFixedEncodingNative_Tar -open LayoutTestFixedEncodingByte_Tar -open LayoutTestFixedEncodingJsoo_Tar -open MeasureTestFixedEncoding_Tar
# User Custom config here
S stub