fix tabstop range check
add sh-mode shiftwidth support