Skip to content

Commit d4ca26f

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 9bc9c41 + 2c5e8e8 commit d4ca26f

File tree

14 files changed

+295
-237
lines changed

14 files changed

+295
-237
lines changed

runtime/doc/eval.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2015 Nov 30
1+
*eval.txt* For Vim version 7.4. Last change: 2015 Dec 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5821,11 +5821,6 @@ sort({list} [, {func} [, {dict}]]) *sort()* *E702*
58215821
on numbers, text strings will sort next to each other, in the
58225822
same order as they were originally.
58235823

5824-
The sort is stable, items which compare equal (as number or as
5825-
string) will keep their relative position. E.g., when sorting
5826-
on numbers, text strings will sort next to each other, in the
5827-
same order as they were originally.
5828-
58295824
Also see |uniq()|.
58305825

58315826
Example: >

runtime/doc/filetype.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 7.4. Last change: 2015 Nov 24
1+
*filetype.txt* For Vim version 7.4. Last change: 2015 Nov 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -552,7 +552,7 @@ Local mappings:
552552
to the end of the file in Normal mode. This means "> " is inserted in
553553
each line.
554554

555-
MAN *ft-man-plugin* *:Man*
555+
MAN *ft-man-plugin* *:Man* *man.vim*
556556

557557
Displays a manual page in a nice way. Also see the user manual
558558
|find-manpage|.

runtime/doc/if_ruby.txt

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Oct 16
1+
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Dec 03
22

33

44
VIM REFERENCE MANUAL by Shugo Maeda
@@ -7,9 +7,9 @@ The Ruby Interface to Vim *ruby* *Ruby*
77

88

99
1. Commands |ruby-commands|
10-
2. The VIM module |ruby-vim|
11-
3. VIM::Buffer objects |ruby-buffer|
12-
4. VIM::Window objects |ruby-window|
10+
2. The Vim module |ruby-vim|
11+
3. Vim::Buffer objects |ruby-buffer|
12+
4. Vim::Window objects |ruby-window|
1313
5. Global variables |ruby-globals|
1414
6. Dynamic loading |ruby-dynamic|
1515

@@ -47,7 +47,7 @@ Example Vim script: >
4747
ruby << EOF
4848
class Garnet
4949
def initialize(s)
50-
@buffer = VIM::Buffer.current
50+
@buffer = Vim::Buffer.current
5151
vimputs(s)
5252
end
5353
def vimputs(s)
@@ -74,19 +74,19 @@ Example Vim script: >
7474
Executing Ruby commands is not possible in the |sandbox|.
7575

7676
==============================================================================
77-
2. The VIM module *ruby-vim*
77+
2. The Vim module *ruby-vim*
7878

79-
Ruby code gets all of its access to vim via the "VIM" module.
79+
Ruby code gets all of its access to vim via the "Vim" module.
8080

81-
Overview >
81+
Overview: >
8282
print "Hello" # displays a message
83-
VIM.command(cmd) # execute an Ex command
84-
num = VIM::Window.count # gets the number of windows
85-
w = VIM::Window[n] # gets window "n"
86-
cw = VIM::Window.current # gets the current window
87-
num = VIM::Buffer.count # gets the number of buffers
88-
b = VIM::Buffer[n] # gets buffer "n"
89-
cb = VIM::Buffer.current # gets the current buffer
83+
Vim.command(cmd) # execute an Ex command
84+
num = Vim::Window.count # gets the number of windows
85+
w = Vim::Window[n] # gets window "n"
86+
cw = Vim::Window.current # gets the current window
87+
num = Vim::Buffer.count # gets the number of buffers
88+
b = Vim::Buffer[n] # gets buffer "n"
89+
cb = Vim::Buffer.current # gets the current buffer
9090
w.height = lines # sets the window height
9191
w.cursor = [row, col] # sets the window cursor position
9292
pos = w.cursor # gets an array [row, col]
@@ -96,29 +96,29 @@ Overview >
9696
b[n] = str # sets a line in the buffer
9797
b.delete(n) # deletes a line
9898
b.append(n, str) # appends a line after n
99-
line = VIM::Buffer.current.line # gets the current line
100-
num = VIM::Buffer.current.line_number # gets the current line number
101-
VIM::Buffer.current.line = "test" # sets the current line number
99+
line = Vim::Buffer.current.line # gets the current line
100+
num = Vim::Buffer.current.line_number # gets the current line number
101+
Vim::Buffer.current.line = "test" # sets the current line number
102102
<
103103

104104
Module Functions:
105105

106106
*ruby-message*
107-
VIM::message({msg})
107+
Vim::message({msg})
108108
Displays the message {msg}.
109109

110110
*ruby-set_option*
111-
VIM::set_option({arg})
111+
Vim::set_option({arg})
112112
Sets a vim option. {arg} can be any argument that the ":set" command
113113
accepts. Note that this means that no spaces are allowed in the
114114
argument! See |:set|.
115115

116116
*ruby-command*
117-
VIM::command({cmd})
117+
Vim::command({cmd})
118118
Executes Ex command {cmd}.
119119

120120
*ruby-evaluate*
121-
VIM::evaluate({expr})
121+
Vim::evaluate({expr})
122122
Evaluates {expr} using the vim internal expression evaluator (see
123123
|expression|). Returns the expression result as:
124124
- a Integer if the Vim expression evaluates to a number
@@ -129,9 +129,9 @@ VIM::evaluate({expr})
129129
Dictionaries and lists are recursively expanded.
130130

131131
==============================================================================
132-
3. VIM::Buffer objects *ruby-buffer*
132+
3. Vim::Buffer objects *ruby-buffer*
133133

134-
VIM::Buffer objects represent vim buffers.
134+
Vim::Buffer objects represent vim buffers.
135135

136136
Class Methods:
137137

@@ -159,9 +159,9 @@ line_number Returns the number of the current line if the buffer is
159159
active.
160160

161161
==============================================================================
162-
4. VIM::Window objects *ruby-window*
162+
4. Vim::Window objects *ruby-window*
163163

164-
VIM::Window objects represent vim windows.
164+
Vim::Window objects represent vim windows.
165165

166166
Class Methods:
167167

runtime/doc/tags

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4951,6 +4951,9 @@ asin() eval.txt /*asin()*
49514951
asm.vim syntax.txt /*asm.vim*
49524952
asm68k syntax.txt /*asm68k*
49534953
asmh8300.vim syntax.txt /*asmh8300.vim*
4954+
assert_equal() eval.txt /*assert_equal()*
4955+
assert_false() eval.txt /*assert_false()*
4956+
assert_true() eval.txt /*assert_true()*
49544957
at motion.txt /*at*
49554958
atan() eval.txt /*atan()*
49564959
atan2() eval.txt /*atan2()*
@@ -5645,6 +5648,7 @@ errorformat-multi-line quickfix.txt /*errorformat-multi-line*
56455648
errorformat-separate-filename quickfix.txt /*errorformat-separate-filename*
56465649
errorformats quickfix.txt /*errorformats*
56475650
errors message.txt /*errors*
5651+
errors-variable eval.txt /*errors-variable*
56485652
escape intro.txt /*escape*
56495653
escape() eval.txt /*escape()*
56505654
escape-bar version4.txt /*escape-bar*
@@ -7002,6 +7006,7 @@ mail.vim syntax.txt /*mail.vim*
70027006
maillist intro.txt /*maillist*
70037007
maillist-archive intro.txt /*maillist-archive*
70047008
make.vim syntax.txt /*make.vim*
7009+
man.vim filetype.txt /*man.vim*
70057010
manual-copyright usr_01.txt /*manual-copyright*
70067011
map() eval.txt /*map()*
70077012
map-<SID> map.txt /*map-<SID>*
@@ -8528,6 +8533,7 @@ terminal-info term.txt /*terminal-info*
85288533
terminal-options term.txt /*terminal-options*
85298534
terminfo term.txt /*terminfo*
85308535
termresponse-variable eval.txt /*termresponse-variable*
8536+
test-functions usr_41.txt /*test-functions*
85318537
tex-cchar syntax.txt /*tex-cchar*
85328538
tex-cole syntax.txt /*tex-cole*
85338539
tex-conceal syntax.txt /*tex-conceal*
@@ -8677,6 +8683,7 @@ v:count1 eval.txt /*v:count1*
86778683
v:ctype eval.txt /*v:ctype*
86788684
v:dying eval.txt /*v:dying*
86798685
v:errmsg eval.txt /*v:errmsg*
8686+
v:errors eval.txt /*v:errors*
86808687
v:exception eval.txt /*v:exception*
86818688
v:fcs_choice eval.txt /*v:fcs_choice*
86828689
v:fcs_reason eval.txt /*v:fcs_reason*

runtime/doc/todo.txt

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2015 Nov 24
1+
*todo.txt* For Vim version 7.4. Last change: 2015 Dec 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -73,7 +73,13 @@ Regexp problems:
7373
- this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/". Leaving
7474
out the \& works. Seems any column check after \& fails.
7575
- The pattern "\1" with the old engine gives E65, with the new engine it
76-
matches the empty string. (Dominique Pelle, 2015 Oct 2)
76+
matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24)
77+
78+
English spell file has an encoding error in the affix file.
79+
Perhaps use the files from here:
80+
https://github.com/marcoagpinto/aoo-mozilla-en-dict
81+
82+
Patch to enable clipboard with MSYS2. (Ken Takata, 2015 Nov 26)
7783

7884
Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
7985
More info Jul 24. Not clear why.
@@ -90,15 +96,33 @@ Should use /usr/local/share/applications or /usr/share/applications.
9096
Or use $XDG_DATA_DIRS.
9197
Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
9298

99+
test107 fails when run in the GUI on Linux.
100+
93101
Access to uninitialized memory in match_backref() regexp_nda.c:4882
94102
(Dominique Pelle, 2015 Nov 6)
95103

104+
Patch to fix test_listchars for MingW. (Christian Brabandt, 2015 Nov 29)
105+
106+
Patch to not set the python home if $PYTHONHOME is set. (Kazuki Sakamoto,
107+
2015 Nov 24)
108+
96109
Patch to use local value of 'errorformat' in :cexpr. (Christian Brabandt,
97110
2015 Oct 16) Only do this for :lexpr ?
98111

99112
":cd C:\Windows\System32\drivers\etc*" does not work, even though the
100113
directory exists. (Sergio Gallelli, 2013 Dec 29)
101114

115+
Patch to make fnamemodify() work better with Cygwin. (Wily Wampa, 2015 Nov 28,
116+
issue 505)
117+
118+
Patch to fix mc_FullName() on root directory. (Milly, 2015 Nov 24, Issue 501)
119+
120+
Patch to make matchparen restore curswant properly. (Christian Brabandt, 2015
121+
Nov 26)
122+
123+
Test 17 does not clean up the directory it creates. (Michael Soyka, 2015 Nov
124+
28)
125+
102126
English spell checking has an error. Updating doesn't work.
103127
(Dominique Pelle, 2015 Oct 15)
104128
Hint for new URL: Christian Brabandt, 2015 Oct 15.
@@ -116,25 +140,37 @@ Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.
116140
Unexpected delay when using CTRL-O u. It's not timeoutlen.
117141
(Gary Johnson, 2015 Aug 28)
118142

143+
Patch for tee on Windows. (Yasuhiro Matsumoto, 2015 Nov 30)
144+
Update Dec 1.
145+
146+
Patch to use 256 color setup for all terminals that have 256 colors or more.
147+
#504. (rdebath, 2015 Dec 1)
148+
119149
Instead of separately uploading patches to the ftp site, can we get them from
120150
github? This URL works:
121151
https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff
122152
>
123153
Can src/GvimExt/Make_cyg.mak be removed?
124154
Same for src/xxd/Make_cyg.mak
125155

156+
Patch to replace deprecated gdk_pixbuf_new_from_inline(). (Kazunobu Kuriyama,
157+
2015 Nov 30, PR #507)
158+
159+
Updated Fortran files. (Ajit Thakkar, 2015 Nov 30, second one)
160+
126161
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
127162

163+
Patch to add wordcount(). (Christian Brabandt, 2015 Nov 27)
164+
128165
Plugin to use Vim in MANPAGER. Konfekt, PR #491
129166

130167
Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
131168

132169
Patch to recognize string slice for variable followed by colon.
133-
(Hirohito Higashi, 2015 Nov 3)
134-
Patch to .ok file is missing.
170+
(Hirohito Higashi, 2015 Nov 24)
135171

136172
Patch to add debug backtrace. (Alberto Fanjul, 2015 Sep 27)
137-
Needs fixes.
173+
Update Dec 2.
138174

139175
MS-Windows: When editing a file with a leading space, writing it uses the
140176
wrong name. (Aram, 2014 Nov 7) Vim 7.4.
@@ -150,6 +186,9 @@ inconsistent with the documentation.
150186

151187
Patch to add window and tab arguments to getcwd(). (Thinca, 2015 Nov 15)
152188

189+
Patch to build with Python using MSYS2. (Yasuhiro Matsumoto, 2015 Nov 26)
190+
Updated Nov 29.
191+
153192
To support Thai (and other languages) word boundaries, include the ICU
154193
library: http://userguide.icu-project.org/boundaryanalysis
155194

@@ -167,6 +206,9 @@ MS-Windows: Crash opening very long file name starting with "\\".
167206

168207
Patch to add ":syn iskeyword". (Christian Brabandt, 2015 Nov 10)
169208

209+
Patch to use PLATFORM to determine target architecture. (Taro Muraoka, 2015
210+
Nov 29)
211+
170212
If libiconv.dll is not found search for libiconv2.dll. (Yasuhiro Matsumoto,
171213
2015 Oct 7)
172214

@@ -497,8 +539,6 @@ Remark on the docs. Should not be a compile time feature. But then what?
497539
Completion of ":e" is ":earlier", should be ":edit". Complete to the matching
498540
command instead of doing this alphabetically. (Mikel Jorgensen)
499541

500-
Patch to get MSVC version in a nicer way. (Ken Takata, 2014 Jul 24)
501-
502542
Patch to define macros for hardcoded values. (Elias Diem, 2013 Dec 14)
503543

504544
Several syntax file match "^\s*" which may get underlined if that's in the

runtime/syntax/r.vim

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
" Maintainer: Jakson Aquino <[email protected]>
44
" Former Maintainers: Vaidotas Zemlys <[email protected]>
55
" Tom Payne <[email protected]>
6-
" Last Change: Wed Dec 31, 2014 12:36AM
6+
" Contributor: Johannes Ranke <[email protected]>
7+
" Homepage: https://github.com/jalvesaq/R-Vim-runtime
8+
" Last Change: Wed Oct 21, 2015 06:33AM
79
" Filenames: *.R *.r *.Rhistory *.Rt
810
"
911
" NOTE: The highlighting of R functions is defined in
@@ -30,16 +32,21 @@ syn case match
3032

3133
" Comment
3234
syn match rCommentTodo contained "\(BUG\|FIXME\|NOTE\|TODO\):"
33-
syn match rComment contains=@Spell,rCommentTodo "#.*"
35+
syn match rComment contains=@Spell,rCommentTodo,rOBlock "#.*"
3436

3537
" Roxygen
36-
syn match rOKeyword contained "@\(param\|return\|name\|rdname\|examples\|include\|docType\)"
38+
syn region rOBlock start="^\s*\n#\{1,2}' " start="\%^#\{1,2}' " end="^\(#\{1,2}'\)\@!" contains=rOTitle,rOKeyword,rOExamples,@Spell keepend
39+
syn region rOTitle start="^\s*\n#\{1,2}' " start="\%^#\{1,2}' " end="^\(#\{1,2}'\s*$\)\@=" contained contains=rOCommentKey
40+
syn match rOCommentKey "#\{1,2}'" containedin=rOTitle contained
41+
42+
syn region rOExamples start="^#\{1,2}' @examples.*"rs=e+1,hs=e+1 end="^\(#\{1,2}' @.*\)\@=" end="^\(#\{1,2}'\)\@!" contained contains=rOKeyword
43+
44+
syn match rOKeyword contained "@\(param\|return\|name\|rdname\|examples\|example\|include\|docType\)"
3745
syn match rOKeyword contained "@\(S3method\|TODO\|aliases\|alias\|assignee\|author\|callGraphDepth\|callGraph\)"
3846
syn match rOKeyword contained "@\(callGraphPrimitives\|concept\|exportClass\|exportMethod\|exportPattern\|export\|formals\)"
3947
syn match rOKeyword contained "@\(format\|importClassesFrom\|importFrom\|importMethodsFrom\|import\|keywords\|useDynLib\)"
4048
syn match rOKeyword contained "@\(method\|noRd\|note\|references\|seealso\|setClass\|slot\|source\|title\|usage\)"
41-
syn match rOKeyword contained "@\(family\|template\|templateVar\|description\|details\|inheritParams\)"
42-
syn match rOComment contains=@Spell,rOKeyword "#'.*"
49+
syn match rOKeyword contained "@\(family\|template\|templateVar\|description\|details\|inheritParams\|field\)"
4350

4451

4552
if &filetype == "rhelp"
@@ -202,7 +209,6 @@ hi def link rBoolean Boolean
202209
hi def link rBraceError Error
203210
hi def link rComment Comment
204211
hi def link rCommentTodo Todo
205-
hi def link rOComment Comment
206212
hi def link rComplex Number
207213
hi def link rConditional Conditional
208214
hi def link rConstant Constant
@@ -230,6 +236,11 @@ hi def link rString String
230236
hi def link rStrError Error
231237
hi def link rType Type
232238
hi def link rOKeyword Title
239+
hi def link rOBlock Comment
240+
hi def link rOTitle Title
241+
hi def link rOCommentKey Comment
242+
hi def link rOExamples SpecialComment
243+
233244

234245
let b:current_syntax="r"
235246

0 commit comments

Comments
 (0)