Tuesday, December 27, 2011

RE: Hiding a string of text

More progress: To hide a certain string, I created
the following syntax region:

syn region footnote start="\\afootnote" end="}" conceal

then split the buffer and did

:setlocal conceallevel=3

in one of the split windows. I then verified the conceallevel in _both_
windows via ":verbose set conceallevel?"

The correct strings are being identified and made into the dark background.

However, there is one issue: the strings are vanishing in the window with
conceallevel 0 also. How do I prevent this?

Thanks,

--Suresh


--
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

No comments:

Post a Comment