summaryrefslogtreecommitdiffstats
path: root/syntax/rnoweb.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-09-28 22:18:09 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-09-28 22:18:09 +0200
commit27903c5b8656c796564ef073c1ebe77a2f0154e1 (patch)
tree2b0a3a14494d7976fb79a7517706e25d2a95d080 /syntax/rnoweb.vim
parentd5e38fa97bc50a93a66473d6cd7072fbcbadda57 (diff)
downloadvim-polyglot-3.0.0.tar.gz
vim-polyglot-3.0.0.zip
Revert inlining basic language packv3.0.0
Diffstat (limited to 'syntax/rnoweb.vim')
-rw-r--r--syntax/rnoweb.vim56
1 files changed, 0 insertions, 56 deletions
diff --git a/syntax/rnoweb.vim b/syntax/rnoweb.vim
index b5192361..437c31cc 100644
--- a/syntax/rnoweb.vim
+++ b/syntax/rnoweb.vim
@@ -1,59 +1,3 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
-
-" Vim syntax file
-" Language: R noweb Files
-" Maintainer: Johannes Ranke <jranke@uni-bremen.de>
-" Last Change: Sat Feb 06, 2016 06:47AM
-" Version: 0.9.1
-" Remarks: - This file is inspired by the proposal of
-" Fernando Henrique Ferraz Pereira da Rosa <feferraz@ime.usp.br>
-" http://www.ime.usp.br/~feferraz/en/sweavevim.html
-"
-
-if exists("b:current_syntax")
- finish
-endif
-
-syn case match
-
-" Extension of Tex clusters {{{1
-runtime syntax/tex.vim
-unlet b:current_syntax
-
-syn cluster texMatchGroup add=@rnoweb
-syn cluster texMathMatchGroup add=rnowebSexpr
-syn cluster texMathZoneGroup add=rnowebSexpr
-syn cluster texEnvGroup add=@rnoweb
-syn cluster texFoldGroup add=@rnoweb
-syn cluster texDocGroup add=@rnoweb
-syn cluster texPartGroup add=@rnoweb
-syn cluster texChapterGroup add=@rnoweb
-syn cluster texSectionGroup add=@rnoweb
-syn cluster texSubSectionGroup add=@rnoweb
-syn cluster texSubSubSectionGroup add=@rnoweb
-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 rnowebSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter end="}" contains=@rnowebR contained
-
-" Sweave options command {{{1
-syn region rnowebSweaveopts matchgroup=Delimiter start="\\SweaveOpts{" matchgroup=Delimiter end="}"
-
-" rnoweb Cluster {{{1
-syn cluster rnoweb contains=rnowebChunk,rnowebChunkReference,rnowebDelimiter,rnowebSexpr,rnowebSweaveopts
-
-" Highlighting {{{1
-hi def link rnowebDelimiter Delimiter
-hi def link rnowebSweaveOpts Statement
-hi def link rnowebChunkReference Delimiter
-
-let b:current_syntax = "rnoweb"
-" vim: foldmethod=marker:
-
-endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1
" Vim syntax file