annotate runtime/syntax/rnoweb.vim @ 11983:448635f73e09 v8.0.0872

patch 8.0.0872: no mouse scroll with a terminal window commit https://github.com/vim/vim/commit/98fd66d311a62133c835307dc7692763dfa32c69 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 19:34:47 2017 +0200 patch 8.0.0872: no mouse scroll with a terminal window Problem: Using mouse scroll while a terminal window has focus and the mouse pointer is on another window does not work. Same for focus in a non-terminal window ahd the mouse pointer is over a terminal window. Solution: Send the scroll action to the right window.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 19:45:04 +0200
parents da01d5da2cfa
children 0ecb909e3249
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
1 " Vim syntax file
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
2 " Language: R noweb Files
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
3 " Maintainer: Johannes Ranke <jranke@uni-bremen.de>
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
4 " Last Change: Sat Feb 06, 2016 06:47AM
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
5 " Version: 0.9.1
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
6 " Remarks: - This file is inspired by the proposal of
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
7 " Fernando Henrique Ferraz Pereira da Rosa <feferraz@ime.usp.br>
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
8 " http://www.ime.usp.br/~feferraz/en/sweavevim.html
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
9 "
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
10
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
11 if exists("b:current_syntax")
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
12 finish
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
13 endif
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
14
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
15 syn case match
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
16
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 843
diff changeset
17 " Extension of Tex clusters {{{1
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
18 runtime syntax/tex.vim
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
19 unlet b:current_syntax
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
20
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 843
diff changeset
21 syn cluster texMatchGroup add=@rnoweb
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1122
diff changeset
22 syn cluster texMathMatchGroup add=rnowebSexpr
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
23 syn cluster texMathZoneGroup add=rnowebSexpr
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 843
diff changeset
24 syn cluster texEnvGroup add=@rnoweb
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 843
diff changeset
25 syn cluster texFoldGroup add=@rnoweb
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
26 syn cluster texDocGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
27 syn cluster texPartGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
28 syn cluster texChapterGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
29 syn cluster texSectionGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
30 syn cluster texSubSectionGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
31 syn cluster texSubSubSectionGroup add=@rnoweb
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
32 syn cluster texParaGroup add=@rnoweb
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
33
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
34 " Highlighting of R code using an existing r.vim syntax file if available {{{1
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
35 syn include @rnowebR syntax/r.vim
1122
2ad54fcf37e3 updated for version 7.1a
vimboss
parents: 843
diff changeset
36 syn region rnowebChunk matchgroup=rnowebDelimiter start="^<<.*>>=" matchgroup=rnowebDelimiter end="^@" contains=@rnowebR,rnowebChunkReference,rnowebChunk fold keepend
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
37 syn match rnowebChunkReference "^<<.*>>$" contained
8497
da01d5da2cfa commit https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
38 syn region rnowebSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter end="}" contains=@rnowebR contained
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
39
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
40 " Sweave options command {{{1
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
41 syn region rnowebSweaveopts matchgroup=Delimiter start="\\SweaveOpts{" matchgroup=Delimiter end="}"
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
42
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
43 " rnoweb Cluster {{{1
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
44 syn cluster rnoweb contains=rnowebChunk,rnowebChunkReference,rnowebDelimiter,rnowebSexpr,rnowebSweaveopts
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
45
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
46 " Highlighting {{{1
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
47 hi def link rnowebDelimiter Delimiter
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
48 hi def link rnowebSweaveOpts Statement
843
9f279ebda751 updated for version 7.0f01
vimboss
parents: 836
diff changeset
49 hi def link rnowebChunkReference Delimiter
836
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
50
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
51 let b:current_syntax = "rnoweb"
5a7843c57316 updated for version 7.0e02
vimboss
parents:
diff changeset
52 " vim: foldmethod=marker: