From d8a3a552d6f2c420cfa8673f6293209eda850878 Mon Sep 17 00:00:00 2001 From: Rafael Date: Sun, 4 Jul 2021 22:34:46 -0300 Subject: [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. --- .gitignore | 1 + utils/.stylua.toml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 utils/.stylua.toml 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 -- cgit v1.2.3