leafOfTree/vim-vue-plugin

Add option to set indent width

starmatt opened this issue · 2 comments

Hello,

It seems that this plugin (best one I've tried for vue btw ❤️ ) is overriding my global setting of using 4 spaces for indenting.
By default when the plugin is active, new lines are indented with 2 spaces.
Can you add an option to let us choose the indent width, or use the option set in the vimrc by default ?

Thanks for your attention!

Hi, thank you for trying it and giving the feedback. 😄

The plugin should only set local indent width, but I agree with you that it's better to leave it as a user option. 2802a66 Please update and help verify if it works.

Works great now, thanks a lot !