I have the following line in my vimrc:
autocmd Filetype html setlocal tabstop=8 softtabstop=8 shiftwidth=8 expandtab
Doesn't count for anything when I open an html file:
:set expandtab? sts?
noexpandtab
softtabstop=0
How can I go about figuring out what is resetting expandtab and softtabstop? In general, what can I do to find out what is making a certain change, between vimrc, my own installed plugins, plugins in the distribution, &c
I tried searching the files from :scriptnames for references to softtabstop. Some reference it or set it to 8, but none of these seem to be setting it to zero (or any other variable value).
If somebody is inclined, I'd welcome a glance at my vimrc and :scriptnames output in case the problem is obvious from these. You can find them here.