Repository navigation
|
It works fine, but I'm not sure I'm doing it in the right place: null_ls.builtins.formatting.shfmt.with({
args = {"-i", "4", "-ci", "--filename", "$FILENAME"}
}),What if default I tried this, and it works, but IDK how safe is the assumption null_ls.builtins.formatting.shfmt.with({
args = {"-i", "4", "-ci", table.unpack(
null_ls.builtins.formatting.shfmt._opts.args
)}
}), |
Answered by
mochaaP
Sep 13, 2024
Replies: 2 comments
|
You can do this with https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#Arguments |
0 replies
Answer selected by
cprn
|
I knew there must be a better way! Although, I even read that page and somehow missed it. Thank you very much! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this with
extra_args:https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#Arguments