вс, 10 июл. 2022 г. в 15:46, Anton Sharonov <anton.sharonov@gmail.com>:
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/"
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/YsrKELzdt1LFm/FV%40DESKTOP-75K4M1M.
Recent Vim has support for NBSP. like `:set list listchars=nbsp:?`
Regards,
Matvey
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAFsTB%2BJ1O8Z4TrSAt9tRjyOhy-1C_xYOGEeQ%3DbT%2B4QGzepX1hQ%40mail.gmail.com.
No comments:
Post a Comment