I've a vim:
VIM - Vi IMproved 8.2 (2019 Dec 12, собрано Apr 8 2020 14:10:43)
and I tried to redefine tabstop, softtabstop and softwidth values for a file after detection of its syntax. I.e. I have a file
file.rb with the comment:
# vim:set sw=4 sts=4 ts=4 et:
But the values of the tabstop, softtabstop and softwidth staty the same as they were defined during file type detection, i.e.
When I forcely try to define the same options at my
set tabstop=4 set softtabstop=4 set shiftwidth=4
The values say the same, and when I tap a tab key, the cursor is moved to 2 points, instead of 4, during editing
So, the question is how to properly change the options even after the file type detection, but when I wish not to fix the vim files manually?