diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:45:09 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:53:49 -0400 |
commit | 3bc852cabf5326079c710c772d5e925f3b151c3a (patch) | |
tree | d18aae5e5541374596a3f2f9a053966009dbbe2b /runtime/syntax/rnoweb.vim | |
parent | 7e36c9a2d3ddcb8b31e318e25767cfb32fa69391 (diff) | |
download | rneovim-3bc852cabf5326079c710c772d5e925f3b151c3a.tar.gz rneovim-3bc852cabf5326079c710c772d5e925f3b151c3a.tar.bz2 rneovim-3bc852cabf5326079c710c772d5e925f3b151c3a.zip |
vim-patch:11e3c5ba8203
Update runtime files
https://github.com/vim/vim/commit/11e3c5ba820325b69cb56f70e13c21d7b8808d33
Diffstat (limited to 'runtime/syntax/rnoweb.vim')
-rw-r--r-- | runtime/syntax/rnoweb.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/rnoweb.vim b/runtime/syntax/rnoweb.vim index b2ba17d68d..749860a3fe 100644 --- a/runtime/syntax/rnoweb.vim +++ b/runtime/syntax/rnoweb.vim @@ -33,8 +33,8 @@ syn cluster texParaGroup add=@rnoweb " Highlighting of R code using an existing r.vim syntax file if available {{{1 syn include @rnowebR syntax/r.vim -syn region rnowebChunk matchgroup=rnowebDelimiter start="^<<.*>>=" matchgroup=rnowebDelimiter end="^@" contains=@rnowebR,rnowebChunkReference,rnowebChunk fold keepend -syn match rnowebChunkReference "^<<.*>>$" contained +syn region rnowebChunk matchgroup=rnowebDelimiter start="^\s*<<.*>>=" matchgroup=rnowebDelimiter end="^@" contains=@rnowebR,rnowebChunkReference,rnowebChunk fold keepend +syn match rnowebChunkReference "^\s*<<.*>>$" contained syn region rnowebSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter end="}" contains=@rnowebR contained " Sweave options command {{{1 |