yaml-language-server icon indicating copy to clipboard operation
yaml-language-server copied to clipboard

Indentation of list

Open claywd opened this issue 6 years ago • 3 comments

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 Screen Shot 2019-10-24 at 12 55 04 AM

desired outcome when edition.listTabSize is 0 (yes I am requesting this key be added) Screen Shot 2019-10-24 at 12 55 16 AM

claywd avatar Oct 24 '19 05:10 claywd

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

OctavioBR avatar Feb 01 '21 21:02 OctavioBR