Lines Matching refs:sw
50 " Additionally units of 'shiftwidth'/'sw' and 'tabstop'/'ts' may be
54 " argument must be given as a string, eg. Justify('','','2sw').
56 " If the values of 'sw' or 'tw' are negative, they are treated as if
59 " negative 'sw' or 'ts' value.
117 " :'<,'>call Justify(72,'','2sw')
118 " :'<,'>Justify 72 -1 2sw
184 " Set the indentation style (accept sw and ts units)
187 if (a:3 == '') || a:3 =~ '^-[1-9]\d*\(shiftwidth\|sw\|tabstop\|ts\)\=$'
189 elseif a:3 =~ '^-\=0\(shiftwidth\|sw\|tabstop\|ts\)\=$'
191 elseif a:3 =~ '^\d\+\(shiftwidth\|sw\|tabstop\|ts\)\=$'
193 elseif a:3 =~ '^\(shiftwidth\|sw\|tabstop\|ts\)$'
196 call Justify_error("indent: a number with 'sw'/'ts' unit")
205 if a:3 =~ '\(shiftwidth\|sw\)'
206 let indent_sw = &sw
316 " EOF vim: tw=78 ts=8 sw=4 sts=4 noet ai