Neovim version (nvim -v)
0.10.0
Operating system/version
macOS 14.5
Add the debug logs
Log file
Describe the bug
Hi, the changes in #481 has the side effect, that in shfmt the EditorConfig file is ignored. Specifications such as switch_case_indent = true in the EditorConfig then no longer work.
I can add the -ci argument (stands for switch_case_indent = true), but I would be interested to know if ignoring the EditorConfig file is intentional.
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
Minimal example file
No response
Minimal init.lua
Additional context
No response
Neovim version (nvim -v)
0.10.0
Operating system/version
macOS 14.5
Add the debug logs
log_level = vim.log.levels.DEBUGand pasted the log contents below.Log file
Describe the bug
Hi, the changes in #481 has the side effect, that in shfmt the EditorConfig file is ignored. Specifications such as
switch_case_indent = truein the EditorConfig then no longer work.Note
If any EditorConfig files are found, they will be used to apply formatting options.
If any parser or printer flags are given to the tool, no EditorConfig formatting options will be used.A default like -i=0 can be used for this purpose.from https://github.com/mvdan/sh/blob/68b762e/cmd/shfmt/shfmt.1.scd
I can add the
-ciargument (stands for switch_case_indent = true), but I would be interested to know if ignoring the EditorConfig file is intentional.What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
Minimal example file
No response
Minimal init.lua
Additional context
No response