vim-config icon indicating copy to clipboard operation
vim-config copied to clipboard

Indentation changed after comment

Open lfb-1 opened this issue 4 years ago • 2 comments

Hi I met this prolem. If I comment any line using either "SPC+v" , "gc" or "gcc" then the indentation of any newlines will change. Previously tab size is 4 and after comment will change to 2. A simple fix is to reopen the file and everything is fine. Any idea on what cause this?

Cheers

lfb-1 avatar Aug 19 '21 01:08 lfb-1

@fengbeiliu could be a plugin issue (caw.vim), or a configuration issue. Can you try with latest master branch?

rafi avatar Sep 01 '21 15:09 rafi

And make sure to update plugins, :call dein#update()

rafi avatar Sep 01 '21 15:09 rafi

Pushed a whole new rewrite of vim-config, 100% lua and lazy.nvim as package-manager, and using different plugins for comments. Check it out...

rafi avatar Apr 07 '23 16:04 rafi