Re: Mark special characters
Marvin Renich <[email protected]>
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
* Christian Brabandt <[email protected]> [240522 09:01]: > On Mi, 22 Mai 2024, Igor wrote: > > I would like to distinguish normal spaces with characters that are in > > vim displayed as spaces, but are some non-space characters. Is there a > > way to display those characters so that I will spot them as special > > characters? > > Someone shared the following on the list a few years ago > https://groups.google.com/g/vim_use/c/FuEGojGwKCM/m/V1K8VAWWKrEJ > > and since then I have it in my .vimrc even so I should probably change > it to a WinEnter autocommand. Why WinEnter? Won't that set this much more often than necessary? > " Highlight special white space > hi def link WhiteSpaceError Error > match WhiteSpaceError /[\x0b\x0c\u00a0\u1680\u180e\u2000-\u200a\u2028\u202f\u205f\u3000]/ > > Thanks, > Christian > -- > Almost anything derogatory you could say about today's software design > would be accurate. > -- K. E. Iverson ^^^^^^^^^^^^^ Are you an APL fan? ...Marvin -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Zk4L5ZS7Sc4r51Jt%40basil.wdw.