Selaa lähdekoodia

[IMPORTANT] Now using stylua for formatting.

* This was discussed in #652

* For now on, we're gonna use stylua for formatting the project, the config is located
in `utils/.stylua.toml`, Use it before pushing changes.
Rafael 4 vuotta sitten
vanhempi
commit
d8a3a552d6
2 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 1 0
      .gitignore
  2. 6 0
      utils/.stylua.toml

+ 1 - 0
.gitignore

@@ -19,3 +19,4 @@ eclipse.jdt.ls/
 spell/
 spell/
 nv-settings.lua
 nv-settings.lua
 lv-settings.lua
 lv-settings.lua
+./.stylua.toml

+ 6 - 0
utils/.stylua.toml

@@ -0,0 +1,6 @@
+column_width = 120
+line_endings = "Unix"
+indent_type = "Spaces"
+indent_width = 2
+quote_style = "AutoPreferDouble"
+no_call_parentheses = true