summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael <[email protected]>2021-07-04 22:34:46 -0300
committerRafael <[email protected]>2021-07-04 22:34:46 -0300
commitd8a3a552d6f2c420cfa8673f6293209eda850878 (patch)
treee544f266a662b0b0acc11dba33bcfb520e4f01fb
parent9f511bcb594b7e2461c97cb8182603928c773c2f (diff)
[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.
-rw-r--r--.gitignore1
-rw-r--r--utils/.stylua.toml6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c441ffa0..4d767ea7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ eclipse.jdt.ls/
spell/
nv-settings.lua
lv-settings.lua
+./.stylua.toml
diff --git a/utils/.stylua.toml b/utils/.stylua.toml
new file mode 100644
index 00000000..df96b7b0
--- /dev/null
+++ b/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