v / .editorconfig
32 lines · 25 sloc · 673 bytes · 6b978a6b5a66d4cf4a7842370561dd8d8c5f99de
Raw
1root = true
2
3[*]
4charset = utf-8
5end_of_line = lf
6insert_final_newline = true
7trim_trailing_whitespace = true
8
9[*.{v,js,css}]
10indent_style = tab
11
12[*.{bat,cmd}]
13# BAT/CMD ~ DOS/Win requires BAT/CMD files to have CRLF EOLNs
14end_of_line = crlf
15
16[*.{yml,yaml}]
17indent_style = space
18indent_size = 2
19
20[*.md]
21trim_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`
26max_line_length = 100
27
28[*.{txt,out}]
29insert_final_newline = false
30
31[{Makefile,GNUmakefile}]
32indent_style = tab
33