amber-lang / amber

💎 Amber the programming language compiled to Bash
https://amber-lang.com
GNU General Public License v3.0
3.86k stars 83 forks source link

Create a basic Editor Config #269

Closed Ph0enixKM closed 2 months ago

Ph0enixKM commented 3 months ago

Create an .editorconfig for this project to set a uniform set of rules:

root = true

[*]
end_of_line = lf
indent_size = 4
insert_final_newline = true
indent_style = space
charset = utf-8
Mte90 commented 3 months ago

I suggest that:

root = true

[*]
end_of_line = lf
indent_style = space
charset = utf-8

[*.rs, *.ab]
end_of_line = lf
indent_size = 4
insert_final_newline = true
indent_style = space
charset = utf-8

Otherwise it will be applied to Cargo.toml or *.txt

Ph0enixKM commented 3 months ago

Okay sounds good

b1ek commented 3 months ago

isnt this issue basically a PR?

Ph0enixKM commented 3 months ago

isnt this issue basically a PR?

Yeah I’ll create one later today