-
|
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
)}
}), |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can do this with https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#Arguments |
Beta Was this translation helpful? Give feedback.
-
|
I knew there must be a better way! Although, I even read that page and somehow missed it. Thank you very much! |
Beta Was this translation helpful? Give feedback.
You can do this with
extra_args:https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md#Arguments