for debugging: record last error stack trace
support getReferencesAtPosition
tss.vim: always use new preview window for docs