Skip to content

Commit 436adca

Browse files
committed
Merge remote-tracking branch 'vim/master' into kaoriya-7-4-131
2 parents 12a7fbc + 0133188 commit 436adca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+908
-389
lines changed

.hgtags

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,3 +2826,31 @@ acbe5414cb7f302f548bc1cbdc1ddb029dbf9094 v7-4-095
28262826
ec5d11403c1952b2ed192f28afb6261d0867bb20 v7-4-101
28272827
9417f4de27a2a6acfa6b1660ac6ef2b5692e4554 v7-4-102
28282828
4db151014f93b7512919e452e6b3f4184758db7b v7-4-103
2829+
dd7d1a86b311c11e9c03b7ca95c7b62206bbc7ab v7-4-104
2830+
eed95874f30e9d9dad577f2361f2dfed93c5db4d v7-4-105
2831+
de9a01851ebd1ce1d225b40c182b6f1e105863a7 v7-4-106
2832+
064e2a080e2e158177acc017c318bc953fb7535b v7-4-107
2833+
fa31c5b82424373885d2fa55b4f8531ac21baacd v7-4-108
2834+
1cdf517067743dc33ebb9c7af8844abd9d9c7863 v7-4-109
2835+
6e54d1b3408ca745341b0b219c588c265fa52494 v7-4-110
2836+
3fbda56bb2008e2459951f3ad0258ff0500ba07c v7-4-111
2837+
af8217e4ed7e28b797c628f067ebfd4433c07326 v7-4-112
2838+
0e21e2a38ec6df5c4fe37d639906f56f9f445b96 v7-4-113
2839+
6db758f82227989426560c19fdd234b154b54419 v7-4-114
2840+
e35c69ad482370b2685bf1360a63fb27ce8b3819 v7-4-115
2841+
40aff213baff00d43ea8c1b6a9734ccad63a3921 v7-4-116
2842+
805ad8488dc88a575b841589f36c278aaead4e52 v7-4-117
2843+
62c720661f81c17348636956c1158639d59e1e9f v7-4-118
2844+
2f99966971b0556bc302ec809712f5ba3f030028 v7-4-119
2845+
ca0e43bbf8f9e409130d5d1ce29621edbcdff92a v7-4-120
2846+
4bf53c1ef37a5023e06f3c6b4f1c24857b4f52a6 v7-4-121
2847+
270c62fe685ae943de64e1a4ab295dae6f4ccabe v7-4-122
2848+
32e50f85d2c7a56c600a2c36107e56fa9f2952cb v7-4-123
2849+
9faba192ea90a32ee137aa42f5027b098931ddb2 v7-4-124
2850+
45ef9d2096e82d6a56a58606b6811620a61cb1ba v7-4-125
2851+
b14554844756422a39c72e62b8c2391c2d5a2e17 v7-4-126
2852+
6f5a7d3943007afc6bc03c445380776e18787f0c v7-4-127
2853+
4b92012f6b18f56664c268200fb54f1316495dc5 v7-4-128
2854+
1e28c0fad344549665c60c62374e6f511e5aec76 v7-4-129
2855+
cf722c09236098ae585840d62eca68dbf8065247 v7-4-130
2856+
4b23119cb58473ab70cf1a1204d4d3fad83881ec v7-4-131

runtime/colors/README.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ Some attributes (e.g., bold) might be set in the defaults that you want
3636
removed in your color scheme. Use something like "gui=NONE" to remove the
3737
attributes.
3838

39+
In case you want to set 'background' depending on the colorscheme selected,
40+
this autocmd might be useful:
41+
autocmd SourcePre */colors/blue_sky.vim set background=dark
42+
Replace "blue_sky" with the name of the colorscheme.
43+
44+
In case you want to tweak a colorscheme after it was loaded, check out that
45+
ColorScheme autocmd event.
46+
3947
To see which highlight group is used where, find the help for
4048
"highlight-groups" and "group-name".
4149

runtime/compiler/gcc.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ CompilerSet errorformat=
2525
\%f:%l:\ %tarning:\ %m,
2626
\%f:%l:\ %m,
2727
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
28-
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
29-
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
30-
\%D%*\\a:\ Entering\ directory\ `%f',
31-
\%X%*\\a:\ Leaving\ directory\ `%f',
28+
\%D%*\\a[%*\\d]:\ Entering\ directory\ [`']%f',
29+
\%X%*\\a[%*\\d]:\ Leaving\ directory\ [`']%f',
30+
\%D%*\\a:\ Entering\ directory\ [`']%f',
31+
\%X%*\\a:\ Leaving\ directory\ [`']%f',
3232
\%DMaking\ %*\\a\ in\ %f
3333

3434
if exists('g:compiler_gcc_ignore_unmatched_lines')

runtime/doc/autocmd.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.4. Last change: 2013 Aug 04
1+
*autocmd.txt* For Vim version 7.4. Last change: 2013 Dec 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -304,6 +304,9 @@ Name triggered by ~
304304
|InsertCharPre| when a character was typed in Insert mode, before
305305
inserting it
306306

307+
|TextChanged| after a change was made to the text in Normal mode
308+
|TextChangedI| after a change was made to the text in Insert mode
309+
307310
|ColorScheme| after loading a color scheme
308311

309312
|RemoteReply| a reply from a server Vim was received
@@ -480,6 +483,12 @@ CmdwinLeave Before leaving the command-line window.
480483
|cmdwin-char|
481484
*ColorScheme*
482485
ColorScheme After loading a color scheme. |:colorscheme|
486+
The pattern is matched against the
487+
colorscheme name. <afile> can be used for the
488+
name of the actual file where this option was
489+
set, and <amatch> for the new colorscheme
490+
name.
491+
483492

484493
*CompleteDone*
485494
CompleteDone After Insert mode completion is done. Either

runtime/doc/cmdline.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 7.4. Last change: 2013 Mar 16
1+
*cmdline.txt* For Vim version 7.4. Last change: 2013 Nov 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -758,6 +758,7 @@ characters have a special meaning. These can also be used in the expression
758758
function expand() |expand()|.
759759
% Is replaced with the current file name. *:_%* *c_%*
760760
# Is replaced with the alternate file name. *:_#* *c_#*
761+
This is remembered for every window.
761762
#n (where n is a number) is replaced with *:_#0* *:_#n*
762763
the file name of buffer n. "#0" is the same as "#". *c_#n*
763764
## Is replaced with all names in the argument list *:_##* *c_##*

runtime/doc/digraph.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*digraph.txt* For Vim version 7.4. Last change: 2011 Jan 15
1+
*digraph.txt* For Vim version 7.4. Last change: 2013 Dec 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -147,7 +147,7 @@ a standard meaning:
147147
Two 2 Hook
148148
Nine 9 Horn
149149

150-
Equals = Cyrillic
150+
Equals = Cyrillic (= used as second char)
151151
Asterisk * Greek
152152
Percent sign % Greek/Cyrillic special
153153
Plus + smalls: Arabic, capitals: Hebrew

runtime/doc/editing.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 7.4. Last change: 2013 Aug 03
1+
*editing.txt* For Vim version 7.4. Last change: 2013 Nov 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,6 +38,7 @@ If there already was a current file name, then that one becomes the alternate
3838
file name. It can be used with "#" on the command line |:_#| and you can use
3939
the |CTRL-^| command to toggle between the current and the alternate file.
4040
However, the alternate file name is not changed when |:keepalt| is used.
41+
An alternate file name is remembered for each window.
4142

4243
*:keepalt* *:keepa*
4344
:keepalt {cmd} Execute {cmd} while keeping the current alternate file

runtime/doc/eval.txt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2013 Nov 08
1+
*eval.txt* For Vim version 7.4. Last change: 2013 Dec 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3200,7 +3200,7 @@ getchar([expr]) *getchar()*
32003200
If [expr] is 1, only check if a character is available, it is
32013201
not consumed. Return zero if no character available.
32023202

3203-
Without {expr} and when {expr} is 0 a whole character or
3203+
Without [expr] and when [expr] is 0 a whole character or
32043204
special key is returned. If it is an 8-bit character, the
32053205
result is a number. Use nr2char() to convert it to a String.
32063206
Otherwise a String is returned with the encoded character.
@@ -3210,7 +3210,7 @@ getchar([expr]) *getchar()*
32103210
String when a modifier (shift, control, alt) was used that is
32113211
not included in the character.
32123212

3213-
When {expr} is 1 only the first byte is returned. For a
3213+
When [expr] is 1 only the first byte is returned. For a
32143214
one-byte character it is the character itself as a number.
32153215
Use nr2char() to convert it to a String.
32163216

@@ -4134,6 +4134,8 @@ maparg({name}[, {mode} [, {abbr} [, {dict}]]]) *maparg()*
41344134
(|mapmode-ic|)
41354135
"sid" The script local ID, used for <sid> mappings
41364136
(|<SID>|).
4137+
"nowait" Do not wait for other, longer mappings.
4138+
(|:map-<nowait>|).
41374139

41384140
The mappings local to the current buffer are checked first,
41394141
then the global mappings.
@@ -4447,6 +4449,9 @@ getpos({expr}) Get the position for {expr}. For possible values of {expr}
44474449
it is the offset in screen columns from the start of the
44484450
character. E.g., a position within a <Tab> or after the last
44494451
character.
4452+
Note that for '< and '> Visual mode matters: when it is "V"
4453+
(visual line mode) the column of '< is zero and the column of
4454+
'> is a large number.
44504455
This can be used to save and restore the cursor position: >
44514456
let save_cursor = getpos(".")
44524457
MoveTheCursorAround
@@ -5270,6 +5275,10 @@ setpos({expr}, {list})
52705275
character. E.g., a position within a <Tab> or after the last
52715276
character.
52725277

5278+
Note that for '< and '> changing the line number may result in
5279+
the marks to be effectively be swapped, so that '< is always
5280+
before '>.
5281+
52735282
Returns 0 when the position could be set, -1 otherwise.
52745283
An error message is given if {expr} is invalid.
52755284

runtime/doc/filetype.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 7.4. Last change: 2013 May 25
1+
*filetype.txt* For Vim version 7.4. Last change: 2013 Dec 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -447,23 +447,25 @@ g:changelog_new_date_format
447447
%% insert a single '%' character
448448
%d insert the date from above
449449
%u insert the user from above
450+
%p insert result of b:changelog_entry_prefix
450451
%c where to position cursor when done
451-
The default is "%d %u\n\n\t* %c\n\n", which produces
452+
The default is "%d %u\n\n\t* %p%c\n\n", which produces
452453
something like (| is where cursor will be, unless at
453454
the start of the line where it denotes the beginning
454455
of the line) >
455456
|2003-01-14 Full Name <user@host>
456457
|
457-
| * |
458+
| * prefix|
458459
<
459460
g:changelog_new_entry_format
460461
The format used when creating a new entry.
461462
The following table describes special tokens in the
462463
string:
464+
%p insert result of b:changelog_entry_prefix
463465
%c where to position cursor when done
464466
The default is "\t*%c", which produces something
465467
similar to >
466-
| * |
468+
| * prefix|
467469
<
468470
g:changelog_date_entry_search
469471
The search pattern to use when searching for a

runtime/doc/fold.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*fold.txt* For Vim version 7.4. Last change: 2010 May 13
1+
*fold.txt* For Vim version 7.4. Last change: 2013 Dec 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -285,9 +285,10 @@ zF Create a fold for [count] lines. Works like "zf".
285285
*zd* *E351*
286286
zd Delete one fold at the cursor. When the cursor is on a folded
287287
line, that fold is deleted. Nested folds are moved one level
288-
up. In Visual mode all folds (partially) in the selected area
289-
are deleted. Careful: This easily deletes more folds than you
290-
expect and there is no undo.
288+
up. In Visual mode one level of all folds (partially) in the
289+
selected area are deleted.
290+
Careful: This easily deletes more folds than you expect and
291+
there is no undo for manual folding.
291292
This only works when 'foldmethod' is "manual" or "marker".
292293
Also see |fold-delete-marker|.
293294

0 commit comments

Comments
 (0)