Anton Sharonov <[email protected]> schrieb am So., 10. Juli 2022,
14:46:

> Hi all,
>
> I am trying to always highlight non-breakable spaces in all my
> buffers, regardless of the filetype.
>
> One way I found so far is:
>
>   autocmd BufReadPost *
>     \ some  |
>     \ other |
>     \ stuff |
>     \ exec "3mat Todo /\xc2\xa0/"
>


Quick WARNING for anybody reading it: WARNING (just learned), only :mat and
:2mat are free, please NEVER use :3mat. (see documentation, read it
careful).

Anton


>
> This has 2 small disadvantages for me:
>
> - makes all a bit slower (probably unavoidable)?
> - consumes one of available :mat :2mat :3mat commands
>
> Are there some better ways perhaps?
>
> --
> With best regards, Anton
>
> PS: By the way, even ":set list" do not show them so those NS are
> really nasty if you don't expect them )))
>

-- 
-- 
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/CAMoRF4%3DWML%3DWxmsGA6Ch8oXFUoQwoozFcbioyQ7tnXnvQCbGBQ%40mail.gmail.com.

Reply via email to