From cd8876b5afe602f90e53e5d92555980e6b379be4 Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Fri, 25 Aug 2023 15:51:09 -0400 Subject: [PATCH] fix(linters/stylua): indent size should respect toml conf first (#54) --- lua/efmls-configs/formatters/stylua.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/efmls-configs/formatters/stylua.lua b/lua/efmls-configs/formatters/stylua.lua index 06038f4..bd5f4e9 100644 --- a/lua/efmls-configs/formatters/stylua.lua +++ b/lua/efmls-configs/formatters/stylua.lua @@ -6,7 +6,7 @@ local fs = require('efmls-configs.fs') local formatter = 'stylua' local command = string.format( - '%s ${--indent-width:tabSize} ${--range-start:charStart} ' .. '${--range-end:charEnd} --color Never -', + '%s --color Never ${--range-start:charStart} ${--range-end:charEnd} -', fs.executable(formatter) )