You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this bug happen when you install plugin without vim-polyglot?
yes, tested with a minimal vimrc
Describe the bug:
With vim-polyglot autoindent feature enabled, but sensible feature disabled, when I open a new file, the default indentation is set to tabs. i'd like it to have set to two spaces unless the file opened already has a different indentation.
I tried to set set sw=2 sts=0 ts=8 et in my vimrc/init.vim thinking it would be overwritten by the autoindent feature when I opened a non empty file, but it makes the autoindent feature not working at all. I then always get two spaces of indent.
Also it would be great to have a vim command to re-detect the indentation of a file.
Does this bug happen when you install plugin without vim-polyglot?
yes, tested with a minimal vimrc
Describe the bug:
With vim-polyglot autoindent feature enabled, but sensible feature disabled, when I open a new file, the default indentation is set to tabs. i'd like it to have set to two spaces unless the file opened already has a different indentation.
I tried to set
set sw=2 sts=0 ts=8 et
in my vimrc/init.vim thinking it would be overwritten by the autoindent feature when I opened a non empty file, but it makes the autoindent feature not working at all. I then always get two spaces of indent.Also it would be great to have a vim command to re-detect the indentation of a file.
To Reproduce:
Running neovim 0.9.5
With the following vimrc
set sw=2 sts=0 ts=8 et
line on the vimrcThe text was updated successfully, but these errors were encountered: