Hacker News new | ask | show | jobs
by fatheart 1688 days ago
After seeing this thread I added the following to my vimrc:

  highlight link NonASCII Error
  autocmd Syntax * :syntax match NonASCII "[^\d0-\d127]"
Obviously haven't been using it long, and I'm not confident enough in my vim knowledge to vouch for its correctness, but it works in the limited amount of scenarios I tested so far.