Skip to content

Commit a5f2cc0

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents d5069d6 + 8822744 commit a5f2cc0

34 files changed

+868
-357
lines changed

runtime/doc/autocmd.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.0. Last change: 2016 Sep 27
1+
*autocmd.txt* For Vim version 8.0. Last change: 2017 Jan 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -33,7 +33,7 @@ files matching *.c. You can also use autocommands to implement advanced
3333
features, such as editing compressed files (see |gzip-example|). The usual
3434
place to put autocommands is in your .vimrc or .exrc file.
3535

36-
*E203* *E204* *E143* *E855*
36+
*E203* *E204* *E143* *E855* *E937*
3737
WARNING: Using autocommands is very powerful, and may lead to unexpected side
3838
effects. Be careful not to destroy your text.
3939
- It's a good idea to do some testing on an expendable copy of a file first.

runtime/doc/eval.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 08
1+
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5256,6 +5256,7 @@ json_decode({string}) *json_decode()*
52565256
- A trailing comma in an array and object is ignored.
52575257
- More floating point numbers are recognized, e.g. "1." for
52585258
"1.0".
5259+
However, a duplicate key in an object is not allowed. *E938*
52595260
The result must be a valid Vim type:
52605261
- An empty object member name is not allowed.
52615262
- Duplicate object member names are not allowed.
@@ -7249,7 +7250,7 @@ strcharpart({src}, {start}[, {len}]) *strcharpart()*
72497250
Like |strpart()| but using character index and length instead
72507251
of byte index and length.
72517252
When a character index is used where a character does not
7252-
exist it is assumed to be one byte. For example: >
7253+
exist it is assumed to be one character. For example: >
72537254
strcharpart('abc', -1, 2)
72547255
< results in 'a'.
72557256

runtime/doc/options.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.0. Last change: 2017 Jan 02
1+
*options.txt* For Vim version 8.0. Last change: 2017 Jan 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5296,7 +5296,7 @@ A jump table for the options with a short description can be found at |Q_op|.
52965296
{not in Vi} *E21*
52975297
When off the buffer contents cannot be changed. The 'fileformat' and
52985298
'fileencoding' options also can't be changed.
5299-
Can be reset with the |-M| command line argument.
5299+
Can be reset on startup with the |-M| command line argument.
53005300

53015301
*'modified'* *'mod'* *'nomodified'* *'nomod'*
53025302
'modified' 'mod' boolean (default off)
@@ -5991,6 +5991,7 @@ A jump table for the options with a short description can be found at |Q_op|.
59915991
buffer, unless the 'Z' flag is in 'cpoptions'.
59925992
{not in Vi:} When using the ":view" command the 'readonly' option is
59935993
set for the newly edited buffer.
5994+
See 'modifiable' for disallowing changes to the buffer.
59945995

59955996
*'redrawtime'* *'rdt'*
59965997
'redrawtime' 'rdt' number (default 2000)

runtime/doc/starting.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 8.0. Last change: 2016 Nov 24
1+
*starting.txt* For Vim version 8.0. Last change: 2017 Jan 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -230,6 +230,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
230230
the executable "view" has the same effect as the -R argument.
231231
The 'updatecount' option will be set to 10000, meaning that
232232
the swap file will not be updated automatically very often.
233+
See |-M| for disallowing modifications.
233234

234235
*-m*
235236
-m Modifications not allowed to be written. The 'write' option
@@ -1220,7 +1221,7 @@ There are several ways to exit Vim:
12201221
- Use `:cquit`. Also when there are changes.
12211222

12221223
When using `:cquit` or when there was an error message Vim exits with exit
1223-
code 1. Errors can be avoided by using `:silent!`.
1224+
code 1. Errors can be avoided by using `:silent!` or with `:catch`.
12241225

12251226
==============================================================================
12261227
8. Saving settings *save-settings*

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4539,6 +4539,8 @@ E933 eval.txt /*E933*
45394539
E934 sign.txt /*E934*
45404540
E935 eval.txt /*E935*
45414541
E936 autocmd.txt /*E936*
4542+
E937 autocmd.txt /*E937*
4543+
E938 eval.txt /*E938*
45424544
E94 windows.txt /*E94*
45434545
E95 message.txt /*E95*
45444546
E96 diff.txt /*E96*

runtime/doc/todo.txt

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 09
1+
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 16
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,6 +35,8 @@ entered there will not be repeated below, unless there is extra information.
3535
*known-bugs*
3636
-------------------- Known bugs and current work -----------------------
3737

38+
get_syn_options() does not respect skip in else part. (Zyx)
39+
3840
+channel:
3941
- Try out background make plugin:
4042
https://github.com/AndrewVos/vim-make-background
@@ -120,28 +122,10 @@ What if there is an invalid character?
120122

121123
Include rust files. (Klabnik, #1356)
122124

123-
More float tests. (Dominique, #1364)
124-
125-
Patch to avoid ubsan warning for integer overflow. (Dominique, 2016 Dec 26)
126-
127-
Bug: Json with same key should not give internal error. (Lcd, 2016 Oct 26)
128-
Make dict_add give a duplicate key error.
129-
130-
Patch to make str2nr and str2float work with signed values.
131-
(Lemonbody, 2016 Dec 18, #1332)
132-
133-
Should json_encode()/json_decode() restrict recursiveness?
134-
Or avoid recursiveness.
135-
136-
Patch to fix UBSan error. Is this actually needed?
137-
(Yegappan, 2016 Dec 18)
138-
139125
Allow using json with empty key? Dict already has it.
140126

141127
Json string with trailing \u should be an error. (Lcd)
142128

143-
Patch to reset ex_exitvalue after catch. (Christian Brabandt, 2016 Oct 23)
144-
145129
Patch to deal with changed configure events in GTK 3. (Jan Alexander Steffens,
146130
2016 Oct 23 #1193)
147131
Remarks from nuko8, 2016 Nov 2.
@@ -159,6 +143,9 @@ Patch for :pyx, run python commands depending on the supported version.
159143
Patch to avoid warnings for overflow. (Mike Williams, 2016 Dec 16)
160144
Update Dec 19.
161145

146+
When an item in the quickfix list has a file name that does not exist, behave
147+
like the item was not a match for :cnext.
148+
162149
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
163150
Also get E749 on exit.
164151
Another example in #1309
@@ -219,9 +206,6 @@ Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
219206
Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11,
220207
#1053) With patch, does it work?
221208

222-
Patch to make finding duplicate tags much faster, using a hashtab. (James
223-
McCoy, 2016 Sept 14, #1046) Should work now. Updated Nov 12.
224-
>
225209
Use ADDR_OTHER instead of ADDR_LINES for many more commands.
226210
Add tests for using number larger than number of lines in buffer.
227211

@@ -251,6 +235,9 @@ Patch to make it possible to extend a list with itself.
251235

252236
Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24)
253237

238+
Patch to add new regexp classes :ident:, :keyword:, :fname:.
239+
(ichizok, 2016 Jan 12, #1373)
240+
254241
Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)
255242

256243
Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
@@ -475,6 +462,9 @@ Should use /usr/local/share/applications or /usr/share/applications.
475462
Or use $XDG_DATA_DIRS.
476463
Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
477464

465+
Test object i{ and it do not behave the same. #1379
466+
Do not include the linebreak at the start?
467+
478468
Patch to have text objects defined by arbitrary single characters. (Daniel
479469
Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31)
480470
Added tests (James McCoy, 2016 Aug 3). Still needs more work.
@@ -972,11 +962,6 @@ highlighted as the cursor line. (Alessandro Ivaldi, 2013 Jun 4)
972962

973963
Two highlighting bugs. (ZyX, 2013 Aug 18)
974964

975-
Patch to add the bufferlist() function. (Yegappan Lakshmanan, 2013 May 5)
976-
May 17: with winlist() and tabpagelist().
977-
May 19: with local variables.
978-
May 28: with options
979-
980965
Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep
981966
28) With tests: Oct 9.
982967

@@ -1219,8 +1204,6 @@ right type.
12191204
string() can't parse back "inf" and "nan". Fix documentation or fix code?
12201205
(ZyX, 2010 Aug 23)
12211206

1222-
Make 'formatprg' global-local. (Sung Pae)
1223-
12241207
When doing "redir => s:foo" in a script and then "redir END" somewhere else
12251208
(e.g. in a function) it can't find s:foo.
12261209
When a script contains "redir => s:foo" but doesn't end redirection, a

runtime/doc/version8.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*version8.txt* For Vim version 8.0. Last change: 2016 Dec 10
1+
*version8.txt* For Vim version 8.0. Last change: 2017 Jan 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -230,6 +230,7 @@ Ex commands: ~
230230
Ex command modifiers: ~
231231

232232
|:keeppatterns| following command keeps search pattern history
233+
|<mods>| supply command modifiers to user defined commands
233234

234235

235236
New and extended functions: ~

runtime/filetype.vim

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,14 @@ au BufNewFile,BufRead *.dtd setf dtd
676676
" DTS/DSTI (device tree files)
677677
au BufNewFile,BufRead *.dts,*.dtsi setf dts
678678

679-
" EDIF (*.edf,*.edif,*.edn,*.edo)
680-
au BufNewFile,BufRead *.ed\(f\|if\|n\|o\) setf edif
679+
" EDIF (*.edf,*.edif,*.edn,*.edo) or edn
680+
au BufNewFile,BufRead *.ed\(f\|if\|o\) setf edif
681+
au BufNewFile,BufRead *.edn
682+
\ if getline(1) =~ '^\s*(\s*edif\>' |
683+
\ setf edif |
684+
\ else |
685+
\ setf clojure |
686+
\ endif
681687

682688
" EditorConfig (close enough to dosini)
683689
au BufNewFile,BufRead .editorconfig setf dosini

runtime/syntax/css.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
" Nikolai Weibull (Add CSS2 support)
77
" Maintainer: Jules Wang <[email protected]>
88
" URL: https://github.com/JulesWang/css.vim
9-
" Last Change: 2015 Apr.17
9+
" Last Change: 2017 Jan 14
10+
" cssClassName updated by Ryuichi Hayashida Jan 2016
1011

1112
" quit when a syntax file was already loaded
1213
if !exists("main_syntax")
@@ -56,7 +57,7 @@ syn match cssSelectorOp2 "[~|^$*]\?=" contained
5657
syn region cssAttributeSelector matchgroup=cssSelectorOp start="\[" end="]" contains=cssUnicodeEscape,cssSelectorOp2,cssStringQ,cssStringQQ
5758

5859
" .class and #id
59-
syn match cssClassName "\.[A-Za-z][A-Za-z0-9_-]\+" contains=cssClassNameDot
60+
syn match cssClassName "\.-\=[A-Za-z_][A-Za-z0-9_-]*" contains=cssClassNameDot
6061
syn match cssClassNameDot contained '\.'
6162

6263
try

runtime/syntax/debchangelog.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: Debian Vim Maintainers <[email protected]>
44
" Former Maintainers: Gerfried Fuchs <[email protected]>
55
" Wichert Akkerman <[email protected]>
6-
" Last Change: 2016 Aug 30
6+
" Last Change: 2016 Nov 12
77
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debchangelog.vim
88

99
" Standard syntax initialization
@@ -21,7 +21,7 @@ let binNMU='binary-only=yes'
2121
syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
2222
exe 'syn match debchangelogFirstKV contained "; \('.urgency.'\|'.binNMU.'\)"'
2323
exe 'syn match debchangelogOtherKV contained ", \('.urgency.'\|'.binNMU.'\)"'
24-
syn match debchangelogTarget contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|precise|trusty|vivid|wily|xenial|yakkety)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
24+
syn match debchangelogTarget contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|precise|trusty|vivid|wily|xenial|yakkety|zesty)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
2525
syn match debchangelogVersion contained "(.\{-})"
2626
syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
2727
syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"

0 commit comments

Comments
 (0)