diff --git a/.stylua.toml b/.stylua.toml index 2acbe19c..59b65820 100644 --- a/.stylua.toml +++ b/.stylua.toml @@ -1,6 +1,6 @@ -column_width = 120 +column_width = 80 line_endings = "Unix" indent_type = "Tab" -indent_width = 2 +indent_width = 1 quote_style = "AutoPreferSingle" call_parentheses = "None" diff --git a/init.lua b/init.lua index ada6ee44..81f33aa5 100644 --- a/init.lua +++ b/init.lua @@ -658,7 +658,6 @@ require('lazy').setup({ } end, formatters_by_ft = { - lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -674,7 +673,8 @@ require('lazy').setup({ yaml = { 'prettier' }, markdown = { 'prettier' }, graphql = { 'prettier' }, - javascript = { { 'prettierd', 'prettier' } }, + javascript = { 'prettierd', 'prettier' }, + lua = {'stylua'}, }, }, },