Can vim attempt to automatically determine the tab type (tabs or spaces) of a file and set the tab properties to match automatically? If not, is there a plugin that will do this?
I’m working with a large, disorganized code base and it would be nice to have vim attempt to do this with each file.
I think this plugin http://www.vim.org/scripts/script.php?script_id=1171 is exactly what you want.