2019-12-22 00:05:55 +01:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
2020-04-05 14:14:19 +02:00
|
|
|
trim_trailing_whitespace = true
|
2019-12-22 00:05:55 +01:00
|
|
|
|
|
|
|
[*.v]
|
|
|
|
indent_style = tab
|
2020-01-11 13:23:47 +01:00
|
|
|
indent_size = 4
|
2020-04-05 14:14:19 +02:00
|
|
|
|
|
|
|
[*.{yml,yaml}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
2022-01-19 01:23:25 +01:00
|
|
|
# lines that are too long will trigger an error in cmd/tools/vcheck-md.v
|
|
|
|
# run v check-md [folder/file] to test markdown files
|
|
|
|
# the longest normal line is specified with this constant:
|
|
|
|
# `too_long_line_length_other = 100`
|
|
|
|
max_line_length = 100
|
2019-12-22 00:05:55 +01:00
|
|
|
|
2020-04-08 15:54:38 +02:00
|
|
|
[*.{txt,out}]
|
2020-04-07 17:52:15 +02:00
|
|
|
insert_final_newline = false
|
|
|
|
|
2021-09-04 13:32:42 +02:00
|
|
|
[{Makefile,GNUmakefile}]
|
2019-12-22 00:05:55 +01:00
|
|
|
indent_style = tab
|