-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathV.sublime-settings
56 lines (54 loc) · 1.11 KB
/
V.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
{
/*
* When compiling a V file inside a magic dir,
* the binary output will be placed in the `bin`
* directory at the same level as the magic dir.
*
* @example
* Having `"cmd"` in the list,
*
* compile: /some/project/cmd/some.v
* command: v -o ../bin/some some.v
* produce: /some/project/bin/some
*
*/
"magic_dirs": [],
/*
* Apply different compilation context based on
* the current directory, file extension or both.
*
* This does not conflicts with `magic_dirs`.
*
* @example
* Ensure you compile `**\win\*.v` files only for Windows.
*
* {
* "directories": ["win"],
* "platform": ["windows"],
* }
*
*
* @example
* Ensure you do not compile `*.nix.v` files on Windows.
*
* {
* "extensions": ["nix"],
* "platform": ["!windows"],
* }
*
*
* @example
* Add the `-cg` flag for `**\dev\*.v` files.
*
* {
* "directories": ["dev"],
* "flags": ["-cg"],
* }
*
*/
"magic_if": [],
/*
* The path to the `v` compiler.
*/
"compiler": "v"
}