mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-11 11:13:47 -05:00
Use HTML comment syntax for Rmarkdown
Closes #415 While Markdown doesn't officially have a comment syntax, HTML comments are widely parsed as such. This is what most Markdown treat as Markdown comments. As a Markdown derivative it seams logical to do the same thing in Rmarkdown. The previously added '#' syntax seems to be for inside code blocks, and that would be language dependent anyway. I've left the hash option as the alternate.
This commit is contained in:
@@ -370,7 +370,7 @@ let s:delimiterMap = {
|
||||
\ 'resolv': { 'left': '#' },
|
||||
\ 'rgb': { 'left': '!' },
|
||||
\ 'rib': { 'left': '#' },
|
||||
\ 'rmd': { 'left': '#' },
|
||||
\ 'rmd': { 'left': '<!--', 'right': '-->', 'leftalt': '#' },
|
||||
\ 'robot': { 'left': '#' },
|
||||
\ 'robots': { 'left': '#' },
|
||||
\ 'rspec': { 'left': '#' },
|
||||
|
||||
Reference in New Issue
Block a user