Please do not set user preferences like shiftwidth at all.
There is a clear vim policy against doing that:
https://github.com/vim/vim/blob/master/runtime/ftplugin/README.txt
Please do not enable recommendations by default;
this also follows from the policy to not set user preferences.
Maybe send a notification how to enable them (let g:markdown_recommended_style=1)
and how to disable the notification (could be setting g:markdown_recommended_style to anything)
Please add comments to every setting you make, to explain why.
Why do you set softtabstop? It leads to mixed indents which I believe are undesirable.
However, it should not even have any effect here because you also set expandtab.
Why do you set both?
Why do you place indent settings in ftplugin/ and not indent/ ?
Please use long option-names for clarity.
Please do not set user preferences like shiftwidth at all.
There is a clear vim policy against doing that:
https://github.com/vim/vim/blob/master/runtime/ftplugin/README.txt
Please do not enable recommendations by default;
this also follows from the policy to not set user preferences.
Maybe send a notification how to enable them (
let g:markdown_recommended_style=1)and how to disable the notification (could be setting g:markdown_recommended_style to anything)
Please add comments to every setting you make, to explain why.
Why do you set softtabstop? It leads to mixed indents which I believe are undesirable.
However, it should not even have any effect here because you also set expandtab.
Why do you set both?
Why do you place indent settings in ftplugin/ and not indent/ ?
Please use long option-names for clarity.