I was kinda expecting vim with whatever common plugins I installed to do this already, but no. It does nice highlighting for all sorts of text formats, even non-code things like CSV, but not hex.