The shiftwidth() function, implemented in Vim 7.3.694, allows an effective 'shiftwidth' value to be determined based on 'tabstop' when the 'shiftwidth' setting is 0. When the 'shiftwidth' setting is nonzero, shiftwidth() returns the configured value as normal.
This PR uses the new function if it is available.
The shiftwidth() function, implemented in Vim 7.3.694, allows an effective 'shiftwidth' value to be determined based on 'tabstop' when the 'shiftwidth' setting is 0. When the 'shiftwidth' setting is nonzero, shiftwidth() returns the configured value as normal. This PR uses the new function if it is available.