Skip to content

Commit 298b440

Browse files
committed
Update runtime files.
1 parent 3b5f929 commit 298b440

8 files changed

Lines changed: 106 additions & 62 deletions

File tree

runtime/doc/netbeans.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
*netbeans.txt* For Vim version 7.4. Last change: 2015 Mar 14
1+
*netbeans.txt* For Vim version 7.4. Last change: 2016 Jan 27
22

33

44
VIM REFERENCE MANUAL by Gordon Prieur et al.
55

66

7-
*socket-interface* *netbeans* *netbeans-support*
7+
*netbeans* *netbeans-support*
88

99
Vim NetBeans Protocol: a socket interface for Vim integration into an IDE.
1010

runtime/doc/syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.4. Last change: 2016 Jan 19
1+
*syntax.txt* For Vim version 7.4. Last change: 2016 Jan 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3458,7 +3458,7 @@ SYNTAX ISKEYWORD SETTING *:syn-iskeyword*
34583458
If no argument is given, the current value will be output.
34593459

34603460
Setting this option influences what |/\k| matches in syntax patterns
3461-
and also determines where |:syn-keywords| will be checked for a new
3461+
and also determines where |:syn-keyword| will be checked for a new
34623462
match.
34633463

34643464
It is recommended when writing syntax files, to use this command

runtime/doc/tags

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
11791179
+browse various.txt /*+browse*
11801180
+builtin_terms various.txt /*+builtin_terms*
11811181
+byte_offset various.txt /*+byte_offset*
1182+
+channel various.txt /*+channel*
11821183
+cindent various.txt /*+cindent*
11831184
+clientserver various.txt /*+clientserver*
11841185
+clipboard various.txt /*+clipboard*
@@ -5170,6 +5171,15 @@ changelog.vim syntax.txt /*changelog.vim*
51705171
changenr() eval.txt /*changenr()*
51715172
changetick eval.txt /*changetick*
51725173
changing change.txt /*changing*
5174+
channel channel.txt /*channel*
5175+
channel-callback channel.txt /*channel-callback*
5176+
channel-commands channel.txt /*channel-commands*
5177+
channel-demo channel.txt /*channel-demo*
5178+
channel-mode channel.txt /*channel-mode*
5179+
channel-open channel.txt /*channel-open*
5180+
channel-raw channel.txt /*channel-raw*
5181+
channel-use channel.txt /*channel-use*
5182+
channel.txt channel.txt /*channel.txt*
51735183
char-variable eval.txt /*char-variable*
51745184
char2nr() eval.txt /*char2nr()*
51755185
characterwise motion.txt /*characterwise*
@@ -5301,6 +5311,7 @@ complex-repeat repeat.txt /*complex-repeat*
53015311
compress pi_gzip.txt /*compress*
53025312
conceal syntax.txt /*conceal*
53035313
confirm() eval.txt /*confirm()*
5314+
connect() eval.txt /*connect()*
53045315
connection-refused message.txt /*connection-refused*
53055316
console-menus gui.txt /*console-menus*
53065317
control intro.txt /*control*
@@ -6786,6 +6797,7 @@ java-indenting indent.txt /*java-indenting*
67866797
java.vim syntax.txt /*java.vim*
67876798
javascript-cinoptions indent.txt /*javascript-cinoptions*
67886799
javascript-indenting indent.txt /*javascript-indenting*
6800+
job-control channel.txt /*job-control*
67896801
join() eval.txt /*join()*
67906802
jsbterm-mouse options.txt /*jsbterm-mouse*
67916803
jsondecode() eval.txt /*jsondecode()*
@@ -7895,6 +7907,8 @@ sed.vim syntax.txt /*sed.vim*
78957907
self eval.txt /*self*
78967908
send-money sponsor.txt /*send-money*
78977909
send-to-menu gui_w32.txt /*send-to-menu*
7910+
sendexpr() eval.txt /*sendexpr()*
7911+
sendraw() eval.txt /*sendraw()*
78987912
sendto gui_w32.txt /*sendto*
78997913
sentence motion.txt /*sentence*
79007914
server-functions usr_41.txt /*server-functions*
@@ -7955,7 +7969,7 @@ sniff if_sniff.txt /*sniff*
79557969
sniff-commands if_sniff.txt /*sniff-commands*
79567970
sniff-compiling if_sniff.txt /*sniff-compiling*
79577971
sniff-intro if_sniff.txt /*sniff-intro*
7958-
socket-interface netbeans.txt /*socket-interface*
7972+
socket-interface channel.txt /*socket-interface*
79597973
sort() eval.txt /*sort()*
79607974
sorting change.txt /*sorting*
79617975
soundfold() eval.txt /*soundfold()*
@@ -8507,7 +8521,6 @@ timestamps editing.txt /*timestamps*
85078521
tips tips.txt /*tips*
85088522
tips.txt tips.txt /*tips.txt*
85098523
todo todo.txt /*todo*
8510-
todo.txt todo.txt /*todo.txt*
85118524
toggle options.txt /*toggle*
85128525
toggle-revins version4.txt /*toggle-revins*
85138526
tolower() eval.txt /*tolower()*

runtime/doc/todo.txt

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2016 Jan 21
1+
todo.txt* For Vim version 7.4. Last change: 2016 Jan 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -78,9 +78,24 @@ Regexp problems:
7878
- "\%1l^#.*" does not match on a line starting with "#". The zero-width match
7979
clears the start-of-line flag.
8080

81+
+channel:
82+
- cleanup on exit? in mch_getout() and getout().
83+
- more contents in channel.txt
84+
8185
C89: remove __ARGS in more places
82-
- Script: Hirohito Higashi, Jan 21.
83-
- Update to osdef.sh, Hirohito Higashi, 2016 Jan 21.
86+
- /tmp/noargs.vim
87+
- /tmp/eliminate__ARGS.vim
88+
- Script: Hirohito Higashi, Jan 25, 2nd one.
89+
- Assume HAVE_STDARG_H is always defined.
90+
91+
This difference is unexpected:
92+
echo v:true == 1
93+
1
94+
echo [v:true] == [1]
95+
0
96+
It's because tv_equal() works different.
97+
98+
Do we need to roll-back patch 1165, that put libintl-8.dll before libintl.dll?
8499

85100
Need to try out instructions in INSSTALLpc.txt about how to install all
86101
interfaces and how to build Vim with them.
@@ -96,9 +111,18 @@ work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
96111

97112
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
98113

114+
jsonencode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
115+
What if there is an invalid character?
116+
117+
Should jsonencode()/jsondecode() restrict recursiveness?
118+
Or avoid recursiveness.
119+
99120
Use vim.vim syntax highlighting for help file examples, but without ":" in
100121
'iskeyword' for syntax.
101122

123+
Patch to make "%:h:h" return "." instead of the full path.
124+
(Coot, 2016 Jan 24, #592)
125+
102126
Remove SPACE_IN_FILENAME ? What could possibly go wrong?
103127

104128
Installation of .desktop files does not work everywhere.
@@ -118,6 +142,13 @@ Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
118142
More tests May 14. Update May 29. Update Aug 10.
119143
Now part of large file patches. (Ken Takata, 2016 Jan 19, second one)
120144
Updated patches with ordering: Jan 20.
145+
And another update: Jan 24
146+
147+
7 Add a watchpoint in the debug mode: An expression that breaks execution
148+
when evaluating to non-zero. Add the "watchadd expr" command, stop when
149+
the value of the expression changes. ":watchdel" deletes an item,
150+
":watchlist" lists the items. (Charles Campbell)
151+
Patch by Christian Brabandt, 2016 Jan 27.
121152

122153
Using ":windo" to set options in all windows has the side effect that it
123154
changes the window layout and the current window. Make a variant that saves
@@ -140,13 +171,22 @@ Instead of separately uploading patches to the ftp site, we can get them from
140171
github with a URL like this:
141172
https://github.com/vim/vim/compare/v7.4.920%5E...v7.4.920.diff
142173
Diff for version.c contains more context, can't skip a patch.
174+
175+
Duplication of completion suggestions for ":!hom". Issue 539.
143176
>
144177
When t_Co is changed from termresponse, the OptionSet autocmmand event isn't
145178
triggered. Use the code from the end of set_num_option() in
146179
set_color_count().
147180

148181
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
149182

183+
Comparing nested structures with "==" uses a different comperator than when
184+
comparing individual items.
185+
Also, "'' == 0" evaluates to true, which isn't nice.
186+
Add "===" to have a strict comparison (type and value match).
187+
Add "==*" (?) to have a value match, but no automatic conversion, and v:true
188+
equals 1 and 1.0, v:false equals 0 and 0.0.?
189+
150190
Plugin to use Vim in MANPAGER. Konfekt, PR #491
151191

152192
Using uninitialized memory. (Dominique Pelle, 2015 Nov 4)
@@ -171,6 +211,10 @@ Build with Python on Mac does not always use the right library.
171211
(Kazunobu Kuriyama, 2015 Mar 28)
172212

173213
Need a Vim equivalent of Python's None and a way to test for it.
214+
Use v:none. var == v:none
215+
216+
Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan
217+
24) Also need a way to get the global arg list? Update later on Jan 24
174218

175219
To support Thai (and other languages) word boundaries, include the ICU
176220
library: http://userguide.icu-project.org/boundaryanalysis
@@ -221,7 +265,7 @@ Sep 10)
221265
Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
222266
Update Sep 7. Update by Christian Brabandt, 2015 Sep 8.
223267

224-
Patch to improve I/O for Perl. (Damine, 2015 Jan 9)
268+
Patch to improve I/O for Perl. (Damien, 2015 Jan 9, update Jan 22 2nd one)
225269

226270
Patch to set antialiasing style on Windows. (Ondrej Balaz, 2013 Mar 14)
227271
Needs a different check for CLEARTYPE_QUALITY.
@@ -258,6 +302,9 @@ same thing. Remarks on issue 543 (Roland Puntaier).
258302
Patch to add grepfile(). (Scott Prager, 2015 May 26)
259303
Work in progress.
260304

305+
Would be useful to have a treemap() or deepmap() function. Like map() but
306+
when an item is a list or dict would recurse into it.
307+
261308
Patch for global-local options consistency. (Arnaud Decara, 2015 Jul 22)
262309
Is this right?
263310

@@ -326,6 +373,8 @@ Should be easy to highlight all matches with 'incsearch'. Idea by Itchyny,
326373
Wrong scrolling when using incsearch. Patch by Christian Brabandt, 2014 Dec 4.
327374
Is this a good solution?
328375

376+
Patch to add /pattern/ to :oldfiles. Pull #575.
377+
329378
Patch to allow setting w:quickfix_title via setqflist() and setloclist()
330379
functions. (Christian Brabandt, 2013 May 8, update May 21)
331380
Patch to add getlocstack() / setlocstack(). (Christian Brabandt, 2013 May 14)
@@ -1115,8 +1164,6 @@ Use json format for new items in .viminfo:
11151164
|["text","text text text"
11161165
|"continuation line"]
11171166
|["hist",242342342,{"arg":"value"}]
1118-
Use \" for a single ". Use \\ for a \.
1119-
See http://www.ietf.org/rfc/rfc4627.txt
11201167

11211168
Writing nested List and Dict in viminfo gives error message and can't be read
11221169
back. (Yukihiro Nakadaira, 2010 Nov 13)
@@ -2136,28 +2183,6 @@ Add an option for a minimal text length before inserting a line break for
21362183

21372184

21382185
Better plugin support (not plugin manager, see elsewhere for that):
2139-
- Add interface to another process, e.g. to run a background plugin.
2140-
Can use the code from netbeans to communicate over a socket.
2141-
A bit like +clientserver but without the hassle of starting another Vim.
2142-
Use json for the messages.
2143-
let handle = startjob({command}) # uses stdin/stdout
2144-
let handle = startjob({command}, {address}) # uses socket
2145-
let handle = connect({address}) # uses socket
2146-
let handle = deamon({command}, {address}) # start it if connect fails
2147-
let response = sendjson(handle, {json}) # sync
2148-
call sendjson(handle, {json}, {callback}) # async
2149-
call sethandler(handle, {callback})
2150-
The response json is wrapped in an array:
2151-
[{code},{response}]
2152-
{code} must be positive, when zero the callback from sethandler() is called
2153-
The job can send Vim commands that do not require a handler:
2154-
['ex', {Ex command}]
2155-
['normal', {Normal mode command}]
2156-
['keys', {condition}, {key sequence}]
2157-
['eval', {expression}] sync, will send back result
2158-
['expr', {expression}] async
2159-
- Native JSON support (to be able to commucate with any interface in the same
2160-
way).
21612186
- Avoid use of feedkeys, add eval functions where needed:
21622187
- manipulating the Visual selection?
21632188
- Add createmark(): add a mark like mM, but return a unique ID. Need some way
@@ -2166,6 +2191,8 @@ Better plugin support (not plugin manager, see elsewhere for that):
21662191
- Plugins need to make a lot of effort, lots of mappings, to know what
21672192
happened before pressing the key that triggers a plugin action. How about
21682193
keeping the last N pressed keys, so that they do not need to be mapped?
2194+
- equivalent of netbeans_beval_cb(). With an autocommand?
2195+
- Add something to enable debugging when a remote message is received.
21692196

21702197

21712198
More patches:
@@ -5242,13 +5269,8 @@ Registers:
52425269

52435270

52445271
Debug mode:
5245-
7 Add something to enable debugging when a remote message is received.
52465272
8 Add breakpoints for setting an option
52475273
8 Add breakpoints for assigning to a variable.
5248-
7 Add a watchpoint in the debug mode: An expression that breaks execution
5249-
when evaluating to non-zero. Add the "watchadd expr" command, stop when
5250-
the value of the expression changes. ":watchdel" deletes an item,
5251-
":watchlist" lists the items. (Charles Campbell)
52525274
7 Store the history from debug mode in viminfo.
52535275
7 Make the debug mode history available with histget() et al.
52545276

runtime/doc/usr_41.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim version 7.4. Last change: 2015 Nov 30
1+
*usr_41.txt* For Vim version 7.4. Last change: 2016 Jan 28
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -893,6 +893,14 @@ Testing: *test-functions*
893893
assert_false() assert that an expression is false
894894
assert_true() assert that an expression is true
895895

896+
Inter-process communication:
897+
connect() open a channel
898+
disconnect() close a channel
899+
sendexpr() send a JSON message over a channel
900+
sendraw() send a raw message over a channel
901+
jsonencode() encode an expression to a JSON string
902+
jsondecode() decode a JSON string to Vim types
903+
896904
Various: *various-functions*
897905
mode() get current editing mode
898906
visualmode() last visual mode used

runtime/doc/various.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*various.txt* For Vim version 7.4. Last change: 2016 Jan 10
1+
*various.txt* For Vim version 7.4. Last change: 2016 Jan 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -319,6 +319,7 @@ N *+builtin_terms* some terminals builtin |builtin-terms|
319319
B *++builtin_terms* maximal terminals builtin |builtin-terms|
320320
N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
321321
and ":goto" commands.
322+
m *+channel* inter process communication |channel|
322323
N *+cindent* |'cindent'|, C indenting
323324
N *+clientserver* Unix and Win32: Remote invocation |clientserver|
324325
*+clipboard* |clipboard| support

0 commit comments

Comments
 (0)