auto-indent: add helpers to peek prev/next char
auto-indent: improve c89 comment detection