Skip to content

Commit

Permalink
Updated editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Nov 20, 2023
1 parent 02221fd commit fba1f76
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{v,vsh,mod}]
[*.{v,js,css}]
indent_style = tab

[*.rst]
[*.{bat,cmd}]
# BAT/CMD ~ DOS/Win requires BAT/CMD files to have CRLF EOLNs
end_of_line = crlf

[*.{yml,yaml}]
indent_style = space
indent_size = 3
indent_size = 2

[*.md]
trim_trailing_whitespace = false
# 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

[*.{txt,out}]
insert_final_newline = false

[Makefile]
[{Makefile,GNUmakefile}]
indent_style = tab

0 comments on commit fba1f76

Please sign in to comment.