diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..60fd23f --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,4 @@ +column_width = 120 +indent_type = "Spaces" +indent_width = 4 +quote_style = "AutoPreferDouble" diff --git a/nvim/lua/plugins/conform.lua b/nvim/lua/plugins/conform.lua index cf8d497..fef8a82 100644 --- a/nvim/lua/plugins/conform.lua +++ b/nvim/lua/plugins/conform.lua @@ -47,11 +47,6 @@ return { args = { "format", "--stdout", "$FILENAME", "--indent-size", "4" }, } - -- Override stylua's default indent type - require("conform").formatters.stylua = { - prepend_args = { "--indent-type", "Spaces" }, - } - -- Override prettier's default indent type require("conform").formatters.prettier = { prepend_args = { "--tab-width", "4" },