yaml-language-server
yaml-language-server copied to clipboard
Indentation of list
VSCODE Settings
"[yaml]": { "editor.formatOnSave": false, "editor.defaultFormatter": "redhat.vscode-yaml", "editor.tabSize": 2, "editor.detectIndentation": true, "editor.insertSpaces": true, "editor.autoIndent": false },
apparently the tabSize must be greater than 0... How about a list specific tab size because yamllint is a serious pain but useful tool and the automatic indention of list (unnecessarily) is a headache.
Current outcome when editor.tabSize is 2

desired outcome when edition.listTabSize is 0 (yes I am requesting this key be added)

My two cents, as suggested by @MarkKharitonov, I believe a boolean is enough: indentLists