shiftwidth() function documentation error

2014-10-09 Fir de Conversatie Benjamin Fritz
shiftwidth() *shiftwidth()* Returns the effective value of 'shiftwidth'. This is the 'shiftwidth' value unless it is zero, in which case it is the 'tabstop' value. To be backwards compatible in indent plugins, use this: if exists('*shiftwidth') func s:sw() return shiftwidth() endfunc

Re: shiftwidth() function documentation error

2014-10-09 Fir de Conversatie Christian Brabandt
Hi Benjamin! On Do, 09 Okt 2014, Benjamin Fritz wrote: shiftwidth() *shiftwidth()* Returns the effective value of 'shiftwidth'. This is the 'shiftwidth' value unless it is zero, in which case it is the 'tabstop' value.  To be backwards compatible in indent plugins, use this: if