-
Notifications
You must be signed in to change notification settings - Fork 7
/
LSP-elixir.sublime-settings
56 lines (50 loc) · 1.45 KB
/
LSP-elixir.sublime-settings
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
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"initializationOptions": {},
"settings": {
"elixirLS": {
// Run ElixirLS's rapid Dialyzer when code is saved
"dialyzerEnabled": true,
// Dialyzer options to enable or disable warnings.
//
// See Dialyzer's documentation for explanation of each option:
// http://erlang.org/doc/man/dialyzer.html
//
// Note that the `race_conditions` option is unsupported.
"dialyzerWarnOpts": [
// "error_handling",
// "no_behaviours",
// "no_contracts",
// "no_fail_call",
// "no_fun_app",
// "no_improper_lists",
// "no_match",
// "no_missing_calls",
// "no_opaque",
// "no_return",
// "no_undefined_callbacks",
// "no_unused",
// "overspecs",
// "specdiffs",
// "underspecs",
// "unknown",
// "unmatched_returns",
],
// Formatter to use for Dialyzer warnings
// Options are:
// * dialyzer - Original Dialyzer format
// * dialyxir_short - Same as `mix dialyzer --format short`
// * dialyxir_long - Same as `mix dialyzer --format long`
"dialyzerFormat": "dialyxir_long",
// Mix environment to use for compilation
"mixEnv": "test",
// Mix target to use for compilation (requires Elixir >= 1.8)
"mixTarget": null,
// Subdirectory containing Mix project if not in the project root
"projectDir": null,
// Automatically fetch project dependencies when compiling
"fetchDeps": true,
}
},
"command": ["$server_path"],
"selector": "source.elixir"
}