In slides.vim (an ftplugin to transform vim to a presentation system),
I use nbsp to emphase things
syn match emphasize "\v \zs[^ ]+\ze "
Which works fine when I want to quote words (or parts of the sentence)
« What if we use vim as presentation system ?»
But... In the case of my next Fosdem talk, I need to emphase
But next code isn't valid
fibonnaci. grep(&evens) .head(5)
So I want the nbsp to be concealed ane "grep(&evens)" to be emphased.
So I tried
:syn match nbsp " " concealed
It do the opposite as expected:
* no more color
* nbsp still visible
I read the doc and I spent some time trying to use "contained"
(inspiration by "help.vim") but I'm not sure I got the problem
so I don't really know how to fix it.
Does someone have a clue?
Thanks by advance.