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

Add Rmd R code chunck support for smart autoformatting #407

Open
inventionate opened this issue May 23, 2021 · 0 comments
Open

Add Rmd R code chunck support for smart autoformatting #407

inventionate opened this issue May 23, 2021 · 0 comments

Comments

@inventionate
Copy link

At the moment R code chunks are unfortunately not recognized by smart autoformatting, i.e. (hA) formatting is not disabled within the code chunks (see jalvesaq/Nvim-R#600). This is due to the fact that for Rmd files the highlighting groups are overwritten by vim/nvim built-in filetype and (only) R code chunks within Rmd files are identified as rmdrChunk. I have adjusted the variable g:pandoc#formatting#smart_autoformat_blacklist in my .vimrc accordingly. However, it would probably be helpful to change that directly in the code or include it in the documentation. Anyway, thanks a lot for the great package!

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

1 participant