-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indentation of list #195
Comments
My two cents, as suggested by @MarkKharitonov, I believe a boolean is enough: |
frustrating this is still not working correctly after so long. i keep trying to use the redhat vscode extension, but keep using this https://marketplace.visualstudio.com/items?itemName=kennylong.kubernetes-yaml-formatter for formatting |
I can't have indented sequences, so I'm using yamlfmt with conform.nvim, and turning off formatting in yaml-language-server. |
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](https://user-images.githubusercontent.com/6446939/67457435-48e2dd80-f5f9-11e9-9b34-36e1056e3ef4.png)
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](https://user-images.githubusercontent.com/6446939/67457450-5009eb80-f5f9-11e9-9ee7-2bfdc366d2cd.png)
The text was updated successfully, but these errors were encountered: