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,js,css}] |
10 | indent_style = tab |
11 | |
12 | [*.{bat,cmd}] |
13 | # BAT/CMD ~ DOS/Win requires BAT/CMD files to have CRLF EOLNs |
14 | end_of_line = crlf |
15 | |
16 | [*.{yml,yaml}] |
17 | indent_style = space |
18 | indent_size = 2 |
19 | |
20 | [*.md] |
21 | trim_trailing_whitespace = false |
22 | # lines that are too long will trigger an error in cmd/tools/vcheck-md.v |
23 | # run v check-md [folder/file] to test markdown files |
24 | # the longest normal line is specified with this constant: |
25 | # `too_long_line_length_other = 100` |
26 | max_line_length = 100 |
27 | |
28 | [*.{txt,out}] |
29 | insert_final_newline = false |
30 | |
31 | [{Makefile,GNUmakefile}] |
32 | indent_style = tab |