This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
stylua doesn't seems to be running when using the extra_args option in "with" method #667
Answered
by
jose-elias-alvarez
LaBatata101
asked this question in
Q&A
-
I'm using this config and as the title says notting happens when I use the require("null-ls").setup({
sources = {
require("null-ls").builtins.formatting.stylua.with({
extra_args = { "--indent_type", "Spaces", "--indent_width", "2" },
}),
},
})
|
Beta Was this translation helpful? Give feedback.
Answered by
jose-elias-alvarez
Feb 10, 2022
Replies: 1 comment 1 reply
-
The issue is that |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LaBatata101
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue is that
--indent_type
and--indent_width
aren't correct–you need--indent-type
and--indent-width
(dashes instead of underscores).