mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 01:46:31 +10:00
This reverts commits:
- 6b652a785033fd4164e049492a7327c1ed7c3e5f
- 2f689d5abde0ccddca9e20d8c93a0299bd054e32
- a025a46d4169587145fb54f04af349cd05cb6122
Several email addresses that are known to be valid caused bounces
due to an issue with my email setup. The previous commits incorrectly
marked these addresses as invalid. So revert the whole thing again.
62d8f3dab5
N/A patch:
vim-patch:2f689d5: runtime: mark more invalid email addresses
Co-authored-by: Christian Brabandt <cb@256bit.org>
53 lines
1.9 KiB
VimL
53 lines
1.9 KiB
VimL
" Vim syntax file
|
|
" Language: R noweb Files
|
|
" Maintainer: Johannes Ranke <jranke@uni-bremen.de>
|
|
" Last Change: Thu Apr 05, 2018 11:06PM
|
|
" 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="^\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
|
|
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:
|