strikeout bug
When there is a line that begins with some strikeout text, it will be recognized as subscript.
For example, ~~1~~2 will be rendered as ₙ1ₙ~2
I am not able to replicate this. Are you using the latest commit of this plugin? What conceal settings are you using?
I'm using the latest commit.
My setup is NeoVim + Lazy.nvim, and I've tested with a clean configuration, but the issue still occurs.
~/.config/nvim/lua/plugins/vimpandoc.lua:
return {
{ "vim-pandoc/vim-pandoc" }, -- branch master, commit a9896b7
{ "vim-pandoc/vim-pandoc-syntax" }, -- branch master, commit 8792910
}
Here is a minimal counterexample:
x
~~x~~
You may have to reload the file, or move the cursor between the two lines to trigger the bug.
Update: I found that subscript is also broken. ~x~ will be rendered as x~
Tried again with Vim, can't reproduce the issue too. Seems to be neovim specific.
P.S. the issue persists after I remove vim-pandoc-syntax but keep vim-pandoc and setting conceallevel. You can either move this issue to vim-pandoc, or just close it if you don't want to fix it.