Open jdhao opened 5 years ago
Not sure it's the same problem but I worked around what sounds like a similar problem with 'inline foototes' by:
set cole=0
@cjns1989 set cole=0
will disable conceal for all the Markdown elements. I want to disable conceal for code blocks only.
works for me! (my dotfiles/nvim config are here).
works for me! (my dotfiles/nvim config are here).
How did it work for you? It did not work for me either.
sooo I don't really know how much of a role my setup plays here, but:
lua
for all settingsafter/plugin/quarto.lua
(the naming is irrelevant, it could also be vim-pandoc.lua
).The one line in my settings is here and is simply using lua to run the vim command: vim.cmd("let g:pandoc#syntax#conceal#blacklist=['codeblock_start','codeblock_delim']")
.
Perhaps if you put the settings before the plugin is sourced then it won't be affected? idk
Perhaps if you put the settings before the plugin is sourced then it won't be affected? idk
Yep, that was it, thanks.
The doc says that we can use
g:pandoc#syntax#conceal#blacklist
to disable conceal feature for certain Markdown elements. I add the following setting in my config:Unfortunately, the start and end of code blocks are still concealed.