Skip to content

Commit

Permalink
fix(linters/stylua): indent size should respect toml conf first (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething authored Aug 25, 2023
1 parent c89a9a4 commit cd8876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/efmls-configs/formatters/stylua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)

Expand Down

0 comments on commit cd8876b

Please sign in to comment.