Open DadongZ opened 4 years ago
I'm seeing the same issue running Neovim (NVIM v0.6.0-dev+13-ga6cdfa27d)
My init.lua - installing with packer
-- Rmarkdown
use {
"vim-pandoc/vim-pandoc",
}
use {
"vim-pandoc/vim-pandoc-syntax",
}
use {
"vim-pandoc/vim-rmarkdown",
run = 'cd app && yarn install',
cmd = 'MarkdownPreview',
ft = "rmarkdown"
}
Note - Line # 20 highlights as expected because it is inlined R code (i.e., r nasdaq$Date[1]
and r nasdaq$Date[length(nasdaq$Date)]
), but just a $
on a normal line also has the different background like headings.
Issue persists with other color scheme.
2 years later, but the only solution I found was uninstalling vim pandoc and vim pandoc syntax, this plugins is still working independently of those ones, just be ensured to have installed rmarkdown and pandoc in your system
I installed the plugin following the instruction but got wierd folding (to one line when open it) and the highlight looks weird
My .vimrc: