How to prevent concealing virtual text generated by other plugins #427
-
How can i show virtual text from other plugins and not have it be concealed? Virtual text cell output generated by Molten.nvim is being concealed by render-markdown. It appears normally in insert mode (or with render markdown disabled): Edit: I also noticed Avante's virtual text is not properly rendered: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It's essentially impossible. Virtual text from multiple plugins is going to conflict, it's what's going to happen when 2 things try to place different things in the same location. There's no way to have plugins be aware of other plugins in any reasonable way, just one off workarounds. Since both of these seem related to code blocks I'd try disabling the |
Beta Was this translation helpful? Give feedback.
Ah, in
0.11.x
there is support for hiding lines vertically viaconceal_lines
, which is the new default border behavior. There's logic to check the version of neovim you are running and fallback to the old behavior which is why things still work in0.10.x
. If you want to get the old behavior you can set thecode.border
value tothin
:I wouldn't say this is a thing that works by design or anything like that. It just so happens that the way the plugins add marks don't conflict with this approach, which is all you can really ask for.