1 | root = true |
2 | |
3 | [*] |
4 | charset = utf-8 |
5 | end_of_line = lf |
6 | insert_final_newline = true |
7 | trim_trailing_whitespace = true |
8 | |
9 | [*.v] |
10 | indent_style = tab |
11 | indent_size = 4 |
12 | |
13 | [*.{yml,yaml}] |
14 | indent_style = space |
15 | indent_size = 2 |
16 | |
17 | [*.md] |
18 | trim_trailing_whitespace = false |
19 | # lines that are too long will trigger an error in cmd/tools/vcheck-md.v |
20 | # run v check-md [folder/file] to test markdown files |
21 | # the longest normal line is specified with this constant: |
22 | # `too_long_line_length_other = 100` |
23 | max_line_length = 100 |
24 | |
25 | [*.{txt,out}] |
26 | insert_final_newline = false |
27 | |
28 | [{Makefile,GNUmakefile}] |
29 | indent_style = tab |