Open dkasak opened 3 years ago
It's not this plugin's bug, it's the interaction with another plugin -- which could be vim's default TeX plugin or vimtex
(depends on which plugin is used to handle LaTeX files)
For vim's built-in plugin, use let g:tex_conceal='amgs'
(see :help g:tex_conceal
for explanation)
For other plugins read their documentation. For instance vimtex use let g:vimtex_syntax_conceal={'math_bounds': 0}
Unless I'm having an interaction from another plugin, the math block delimiters (double dollar signs, $$) are concealed to an empty string. This is disorienting and makes it hard to navigate into an open but empty math block. I often enter $$\n\n$$, then exit insert mode and want to move inside the math block I just created, but since the dollar signs are invisible, I don't know whether my cursor is inside or not.
The proposal is then not to conceal the dollar signs or to conceal them into a more appropriate symbol instead of the empty string (unless I landed on a weird interaction with another plugin of mine).
Previously raised at https://github.com/vim-pandoc/vim-pandoc/issues/393, but it was suggested this is a better location.