Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax highlight shows weird color #31

Open
DadongZ opened this issue Jun 16, 2020 · 2 comments
Open

syntax highlight shows weird color #31

DadongZ opened this issue Jun 16, 2020 · 2 comments

Comments

@DadongZ
Copy link

DadongZ commented Jun 16, 2020

I installed the plugin following the instruction but got wierd folding (to one line when open it) and the highlight looks weird
rm

My .vimrc:

Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'rstudio/rmarkdown'
Plugin 'vim-pandoc/vim-rmarkdown'
@jvaverka
Copy link

jvaverka commented Jul 18, 2021

I'm seeing the same issue running Neovim (NVIM v0.6.0-dev+13-ga6cdfa27d)

rmd-weird

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.

@awelormro
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants