init
This commit is contained in:
commit
6aa94a883b
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@ -0,0 +1,19 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.v]
|
||||
indent_style = tab
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
max_line_length = 100
|
||||
|
||||
[*.{txt,out}]
|
||||
insert_final_newline = false
|
7
hello_world.v
Normal file
7
hello_world.v
Normal file
@ -0,0 +1,7 @@
|
||||
fn main() {
|
||||
areas := ['game', 'web', 'tools', 'science', 'systems',
|
||||
'embedded', 'drivers', 'GUI', 'mobile']
|
||||
for area in areas {
|
||||
println('Hello, ${area} developers!')
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user