Is there a way to prevent boundary symbols from being hidden? #370
-
I wan’t it render but don't hide. Is there any way to implement it? Anti-conceal is only a cursor row based. But what I want is the global anti-conceal. |
Beta Was this translation helpful? Give feedback.
Answered by
MeanderingProgrammer
Mar 19, 2025
Replies: 1 comment 1 reply
-
set
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do that, but that will impact how a lot of things are rendered, like tables and checkboxes for example. Without the ability to conceal text (which is what conceallevel = 0 does) many other things will render poorly.
Instead I would update your highlights to not conceal elements you don't want to be hidden. The highlights likely come from
nvim-treesitter
and can be overridden by you.For example to keep backticks around code blocks copy this file: https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/markdown_inline/highlights.scm to your local directory at:
<config_root>/queries/markdown_inline/highlights.scm
and remove the bit that hides the code delimiters.That…