vscode-modelines
vscode-modelines copied to clipboard
tabsize and spacewidth are different things on recent VSCode versions
I'm often using this modeline with my markdown files, so VSCode will use 2 spaces for identation.
<!-- // code: language=markdown insertSpaces=true tabSize=2 -->
But recently I noticed what extension sets only tab rendering size in VSCode but identation size stay default 4 spaces.
And I need to manually change identation to 2 spaces for this document.