Skip to content

Commit

Permalink
Merge remote-tracking branch 'vim/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
splhack committed Jan 18, 2017
2 parents d5069d6 + 8822744 commit a5f2cc0
Show file tree
Hide file tree
Showing 34 changed files with 868 additions and 357 deletions.
4 changes: 2 additions & 2 deletions runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 8.0. Last change: 2016 Sep 27
*autocmd.txt* For Vim version 8.0. Last change: 2017 Jan 14


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

*E203* *E204* *E143* *E855*
*E203* *E204* *E143* *E855* *E937*
WARNING: Using autocommands is very powerful, and may lead to unexpected side
effects. Be careful not to destroy your text.
- It's a good idea to do some testing on an expendable copy of a file first.
Expand Down
5 changes: 3 additions & 2 deletions runtime/doc/eval.txt
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 08
*eval.txt* For Vim version 8.0. Last change: 2017 Jan 14


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

Expand Down
5 changes: 3 additions & 2 deletions runtime/doc/options.txt
@@ -1,4 +1,4 @@
*options.txt* For Vim version 8.0. Last change: 2017 Jan 02
*options.txt* For Vim version 8.0. Last change: 2017 Jan 15


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

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

*'redrawtime'* *'rdt'*
'redrawtime' 'rdt' number (default 2000)
Expand Down
5 changes: 3 additions & 2 deletions runtime/doc/starting.txt
@@ -1,4 +1,4 @@
*starting.txt* For Vim version 8.0. Last change: 2016 Nov 24
*starting.txt* For Vim version 8.0. Last change: 2017 Jan 15


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

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

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

==============================================================================
8. Saving settings *save-settings*
Expand Down
2 changes: 2 additions & 0 deletions runtime/doc/tags
Expand Up @@ -4539,6 +4539,8 @@ E933 eval.txt /*E933*
E934 sign.txt /*E934*
E935 eval.txt /*E935*
E936 autocmd.txt /*E936*
E937 autocmd.txt /*E937*
E938 eval.txt /*E938*
E94 windows.txt /*E94*
E95 message.txt /*E95*
E96 diff.txt /*E96*
Expand Down
41 changes: 12 additions & 29 deletions runtime/doc/todo.txt
@@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 09
*todo.txt* For Vim version 8.0. Last change: 2017 Jan 16


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

get_syn_options() does not respect skip in else part. (Zyx)

+channel:
- Try out background make plugin:
https://github.com/AndrewVos/vim-make-background
Expand Down Expand Up @@ -120,28 +122,10 @@ What if there is an invalid character?

Include rust files. (Klabnik, #1356)

More float tests. (Dominique, #1364)

Patch to avoid ubsan warning for integer overflow. (Dominique, 2016 Dec 26)

Bug: Json with same key should not give internal error. (Lcd, 2016 Oct 26)
Make dict_add give a duplicate key error.

Patch to make str2nr and str2float work with signed values.
(Lemonbody, 2016 Dec 18, #1332)

Should json_encode()/json_decode() restrict recursiveness?
Or avoid recursiveness.

Patch to fix UBSan error. Is this actually needed?
(Yegappan, 2016 Dec 18)

Allow using json with empty key? Dict already has it.

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

Patch to reset ex_exitvalue after catch. (Christian Brabandt, 2016 Oct 23)

Patch to deal with changed configure events in GTK 3. (Jan Alexander Steffens,
2016 Oct 23 #1193)
Remarks from nuko8, 2016 Nov 2.
Expand All @@ -159,6 +143,9 @@ Patch for :pyx, run python commands depending on the supported version.
Patch to avoid warnings for overflow. (Mike Williams, 2016 Dec 16)
Update Dec 19.

When an item in the quickfix list has a file name that does not exist, behave
like the item was not a match for :cnext.

Wrong diff highlighting with three files. (2016 Oct 20, #1186)
Also get E749 on exit.
Another example in #1309
Expand Down Expand Up @@ -219,9 +206,6 @@ Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11,
#1053) With patch, does it work?

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

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

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

Patch to add new regexp classes :ident:, :keyword:, :fname:.
(ichizok, 2016 Jan 12, #1373)

Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)

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

Test object i{ and it do not behave the same. #1379
Do not include the linebreak at the start?

Patch to have text objects defined by arbitrary single characters. (Daniel
Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31)
Added tests (James McCoy, 2016 Aug 3). Still needs more work.
Expand Down Expand Up @@ -972,11 +962,6 @@ highlighted as the cursor line. (Alessandro Ivaldi, 2013 Jun 4)

Two highlighting bugs. (ZyX, 2013 Aug 18)

Patch to add the bufferlist() function. (Yegappan Lakshmanan, 2013 May 5)
May 17: with winlist() and tabpagelist().
May 19: with local variables.
May 28: with options

Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep
28) With tests: Oct 9.

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

Make 'formatprg' global-local. (Sung Pae)

When doing "redir => s:foo" in a script and then "redir END" somewhere else
(e.g. in a function) it can't find s:foo.
When a script contains "redir => s:foo" but doesn't end redirection, a
Expand Down
3 changes: 2 additions & 1 deletion runtime/doc/version8.txt
@@ -1,4 +1,4 @@
*version8.txt* For Vim version 8.0. Last change: 2016 Dec 10
*version8.txt* For Vim version 8.0. Last change: 2017 Jan 15


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -230,6 +230,7 @@ Ex commands: ~
Ex command modifiers: ~

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


New and extended functions: ~
Expand Down
10 changes: 8 additions & 2 deletions runtime/filetype.vim
Expand Up @@ -676,8 +676,14 @@ au BufNewFile,BufRead *.dtd setf dtd
" DTS/DSTI (device tree files)
au BufNewFile,BufRead *.dts,*.dtsi setf dts

" EDIF (*.edf,*.edif,*.edn,*.edo)
au BufNewFile,BufRead *.ed\(f\|if\|n\|o\) setf edif
" EDIF (*.edf,*.edif,*.edn,*.edo) or edn
au BufNewFile,BufRead *.ed\(f\|if\|o\) setf edif
au BufNewFile,BufRead *.edn
\ if getline(1) =~ '^\s*(\s*edif\>' |
\ setf edif |
\ else |
\ setf clojure |
\ endif

" EditorConfig (close enough to dosini)
au BufNewFile,BufRead .editorconfig setf dosini
Expand Down
5 changes: 3 additions & 2 deletions runtime/syntax/css.vim
Expand Up @@ -6,7 +6,8 @@
" Nikolai Weibull (Add CSS2 support)
" Maintainer: Jules Wang <w.jq0722@gmail.com>
" URL: https://github.com/JulesWang/css.vim
" Last Change: 2015 Apr.17
" Last Change: 2017 Jan 14
" cssClassName updated by Ryuichi Hayashida Jan 2016

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

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

try
Expand Down
4 changes: 2 additions & 2 deletions runtime/syntax/debchangelog.vim
Expand Up @@ -3,7 +3,7 @@
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainers: Gerfried Fuchs <alfie@ist.org>
" Wichert Akkerman <wakkerma@debian.org>
" Last Change: 2016 Aug 30
" Last Change: 2016 Nov 12
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debchangelog.vim

" Standard syntax initialization
Expand All @@ -21,7 +21,7 @@ let binNMU='binary-only=yes'
syn match debchangelogName contained "^[[:alnum:]][[:alnum:].+-]\+ "
exe 'syn match debchangelogFirstKV contained "; \('.urgency.'\|'.binNMU.'\)"'
exe 'syn match debchangelogOtherKV contained ", \('.urgency.'\|'.binNMU.'\)"'
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))=)+"
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))=)+"
syn match debchangelogVersion contained "(.\{-})"
syn match debchangelogCloses contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
syn match debchangelogLP contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
Expand Down
2 changes: 1 addition & 1 deletion runtime/syntax/debcontrol.vim
Expand Up @@ -38,7 +38,7 @@ unlet s:kernels s:archs s:pairs
syn match debcontrolMultiArch contained "\%(no\|foreign\|allowed\|same\)"
syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"
syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|education|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|introspection|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)"
syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|education|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|introspection|java|javascript|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|rust|science|shells|sound|text|tex|utils|vcs|video|web|x11|xfce|zope)"
syn match debcontrolPackageType contained "u\?deb"
syn match debcontrolVariable contained "\${.\{-}}"
syn match debcontrolDmUpload contained "\cyes"
Expand Down
4 changes: 2 additions & 2 deletions runtime/syntax/debsources.vim
Expand Up @@ -2,7 +2,7 @@
" Language: Debian sources.list
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
" Former Maintainer: Matthijs Mohlmann <matthijs@cacholong.nl>
" Last Change: 2016 Sep 27
" Last Change: 2016 Nov 12
" URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim

" Standard syntax initialization
Expand All @@ -25,7 +25,7 @@ let s:supported = [
\ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
\ 'squeeze', 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy',
\
\ 'precise', 'trusty', 'xenial', 'yakkety', 'devel'
\ 'precise', 'trusty', 'xenial', 'yakkety', 'zesty', 'devel'
\ ]
let s:unsupported = [
\ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
Expand Down
12 changes: 6 additions & 6 deletions runtime/tutor/tutor.fr
Expand Up @@ -123,7 +123,7 @@ NOTE : En avan
Le�on 1.5 : �DITION DE TEXTE - AJOUTER


** Appuyez A pour ajouter du text. **
** Appuyez A pour ajouter du texte. **

1. D�placez le curseur sur la premi�re ligne ci-dessous marqu�e --->.
Peu importe sur quel caract�re se trouve le curseur sur cette ligne.
Expand Down Expand Up @@ -574,7 +574,7 @@ NOTE : Quand la recherche atteint la fin du fichier, elle reprend au d

2. Puis tapez le caract�re % .

3. Le curseur se d�placera sur la parenth�se out crochet correspondant.
3. Le curseur se d�placera sur la parenth�se ou crochet correspondant.

4. Tapez % pour replacer le curseur sur la parenth�se ou crochet
correspondant.
Expand Down Expand Up @@ -854,17 +854,17 @@ NOTE : Le mode Remplacement est comme le mode Insertion, mais tous les
5. Tapez p pour coller le texte. Puis tapez : un second <�chap> .

6. Utilisez le mode Visuel pour s�lectionner "�l�ment", copiez-le avec y ,
d�placez-vous � la fin de la ligne suivant avec j$ et collez le texte
d�placez-vous � la fin de la ligne suivante avec j$ et collez le texte
� cet endroit avec p .

---> a) ceci est le premier �l�ment.
b)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Le�on 6.4 : R�GLAGE DES OPTIONS
Le�on 6.5 : R�GLAGE DES OPTIONS


** R�glons une option afin que la recherche et la substitution ignore la
** R�glons une option afin que la recherche et la substitution ignorent la
casse des caract�res. **

1. Recherchez 'ignore' en tapant : /ignore <Entr�e>
Expand Down Expand Up @@ -1034,5 +1034,5 @@ NOTE : Le compl
Derni�res mises � jour par Dominique Pell�.

E-mail : dominique.pelle@gmail.com
Last Change : 2016 Nov 08
Last Change : 2017 Jan 16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 changes: 6 additions & 6 deletions runtime/tutor/tutor.fr.utf-8
Expand Up @@ -123,7 +123,7 @@ NOTE : En avançant dans ce cours, n'essayez pas de mémoriser, apprenez par
Leçon 1.5 : ÉDITION DE TEXTE - AJOUTER


** Appuyez A pour ajouter du text. **
** Appuyez A pour ajouter du texte. **

1. Déplacez le curseur sur la première ligne ci-dessous marquée --->.
Peu importe sur quel caractère se trouve le curseur sur cette ligne.
Expand Down Expand Up @@ -574,7 +574,7 @@ NOTE : Quand la recherche atteint la fin du fichier, elle reprend au début

2. Puis tapez le caractère % .

3. Le curseur se déplacera sur la parenthèse out crochet correspondant.
3. Le curseur se déplacera sur la parenthèse ou crochet correspondant.

4. Tapez % pour replacer le curseur sur la parenthèse ou crochet
correspondant.
Expand Down Expand Up @@ -854,17 +854,17 @@ NOTE : Le mode Remplacement est comme le mode Insertion, mais tous les
5. Tapez p pour coller le texte. Puis tapez : un second <Échap> .

6. Utilisez le mode Visuel pour sélectionner "élément", copiez-le avec y ,
déplacez-vous à la fin de la ligne suivant avec j$ et collez le texte
déplacez-vous à la fin de la ligne suivante avec j$ et collez le texte
à cet endroit avec p .

---> a) ceci est le premier élément.
b)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Leçon 6.4 : RÉGLAGE DES OPTIONS
Leçon 6.5 : RÉGLAGE DES OPTIONS


** Réglons une option afin que la recherche et la substitution ignore la
** Réglons une option afin que la recherche et la substitution ignorent la
casse des caractères. **

1. Recherchez 'ignore' en tapant : /ignore <Entrée>
Expand Down Expand Up @@ -1034,5 +1034,5 @@ NOTE : Le complètement fonctionne pour de nombreuses commandes. Essayez
Dernières mises à jour par Dominique Pellé.

E-mail : dominique.pelle@gmail.com
Last Change : 2016 Nov 08
Last Change : 2017 Jan 16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit a5f2cc0

Please sign in to comment.