Tuesday, December 27, 2011

[Resolved] Hiding a string of text

Solution: 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?"

This resulted in the strings being concealed in one buffer but not in the
other, as expected/desired.

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