editorconfig-vim
editorconfig-vim copied to clipboard
Stop setting 'softtabstop'
- Vim already supports having 'softtabstop' equal to 'shiftwidth'.
- I think 'softtabstop' is really a UI tweak, not a filetype setting.
This bit me when I finally decided I didn't like softtabstop, and started setting it to 0 in ~/.vimrc. ;)
@chreekat Thanks for this PR! What conditions have you tested? I know this works for your use case. However, before changing core plugin behaviour, we need to know that it works for everyone else's use cases (as much as possible).
Also, what caused you to make this change? Does it fix an actual problem you encountered?
@cxw42 , thank you for your questions!
I have not tested any conditions. Are there automated tests? Should there be more? I could write one. But I suppose there are many users who are used to the existing settings. This could be optional?
Also, what caused you to make this change? Does it fix an actual problem you encountered?
Yes. Setting 'softtabstop' changes the behavior of the backspace key in Insert mode. I had tried it out for a while and found I didn't like it, so I turned it off. This plugin turned it back on.
@chreekat Thanks! I will try out the non-sts backspace. Let's leave this open for a few days and see if any other users weigh in with their experiences.
@chreekat Sorry for the long delay! Would you please join the discussion at #198?
Thanks! Closing in favor of #198 .
(Unfortunately I don't use EditorConfig anyway.)