Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Add the following to your ~/.vimrc to always highlight non-ascii characters:

    au BufWinEnter * let w:matchnonascii=matchadd('ErrorMsg', "[\x7f-\xff]", -1)


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: