Skip to content

Commit 6af4823

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 2b817ee + 089af18 commit 6af4823

78 files changed

Lines changed: 1471 additions & 343 deletions

Some content is hidden

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

.travis.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
language: c
2+
3+
compiler:
4+
- clang
5+
- gcc
6+
7+
env:
8+
- COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge
9+
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
10+
- COVERAGE=no FEATURES=small CONFOPT=
11+
- COVERAGE=no FEATURES=tiny CONFOPT=
12+
13+
sudo: false
14+
15+
branches:
16+
except:
17+
- /^v[0-9]/
18+
19+
addons:
20+
apt:
21+
packages:
22+
- lcov
23+
- libperl-dev
24+
- python-dev
25+
- python3-dev
26+
- liblua5.1-0-dev
27+
- lua5.1
28+
29+
before_install:
30+
- pip install --user cpp-coveralls
31+
32+
script:
33+
- NPROC=$(getconf _NPROCESSORS_ONLN)
34+
- ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC
35+
- ./src/vim --version
36+
- make test
37+
38+
after_success:
39+
- if [ x"$COVERAGE" = "xyes" ]; then ~/.local/bin/coveralls -b src -x .xs -e src/xxd -e src/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
40+
41+
# vim:set sts=2 sw=2 tw=0 et:

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# source files for all source archives
55
SRC_ALL = \
66
.hgignore \
7+
.travis.yml \
8+
appveyor.yml \
79
src/README.txt \
810
src/arabic.c \
911
src/arabic.h \

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Which one you need depends on the system you want to run it on and whether you
2929
want or must compile it yourself. Check http://www.vim.org/download.php for
3030
an overview of currently available distributions.
3131

32+
[![Build Status](https://travis-ci.org/vim/vim.svg?branch=master)](https://travis-ci.org/vim/vim)
33+
[![Coverage Status](https://coveralls.io/repos/vim/vim/badge.svg?branch=master&service=github)](https://coveralls.io/github/vim/vim?branch=master)
34+
3235

3336
## Documentation ##
3437

@@ -89,6 +92,11 @@ See one of these files for system-specific instructions:
8992
There are more `README_*.txt` files, depending on the distribution you used.
9093

9194

95+
## Contributing ##
96+
97+
If you would like to help making Vim better, see the `CONTRIBUTING.md` file.
98+
99+
92100
## Information ##
93101

94102
The latest news about Vim can be found on the Vim home page:

appveyor.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: "{build}"
2+
3+
before_build:
4+
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release'
5+
6+
build_script:
7+
- cd src
8+
- sed -e "s/\$(LINKARGS2)/\$(LINKARGS2) | sed -e 's#.*\\\\r.*##'/" Make_mvc.mak > Make_mvc2.mak
9+
- nmake -f Make_mvc2.mak CPU=AMD64 GUI=yes IME=yes MBYTE=yes ICONV=yes DEBUG=no PYTHON_VER=27 DYNAMIC_PYTHON=yes PYTHON=C:\Python27-x64 PYTHON3_VER=34 DYNAMIC_PYTHON3=yes PYTHON3=C:\Python34-x64
10+
- .\gvim -u NONE -c "redir @a | ver | 0put a | wq!" ver.txt
11+
- type ver.txt
12+
13+
test_script:
14+
- cd testdir
15+
- nmake -f Make_dos.mak VIMPROG=..\gvim

runtime/autoload/python3complete.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"python3complete.vim - Omni Completion for python
22
" Maintainer: Aaron Griffin <[email protected]>
33
" Version: 0.9
4-
" Last Updated: 18 Jun 2009
4+
" Last Updated: 18 Jun 2009 (small fix 2015 Sep 14 from Debian)
55
"
66
" Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim
77
"
@@ -359,6 +359,7 @@ class PyParser:
359359
def __init__(self):
360360
self.top = Scope('global',0)
361361
self.scope = self.top
362+
self.parserline = 0
362363

363364
def _parsedotname(self,pre=None):
364365
#returns (dottedname, nexttoken)

runtime/doc/change.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 7.4. Last change: 2015 Aug 04
1+
*change.txt* For Vim version 7.4. Last change: 2015 Sep 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1135,7 +1135,7 @@ Rationale: In Vi the "y" command followed by a backwards motion would
11351135
With a linewise yank command the cursor is put in the first line, but the
11361136
column is unmodified, thus it may not be on the first yanked character.
11371137

1138-
There are nine types of registers: *registers* *E354*
1138+
There are ten types of registers: *registers* *E354*
11391139
1. The unnamed register ""
11401140
2. 10 numbered registers "0 to "9
11411141
3. The small delete register "-

runtime/doc/cmdline.txt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 7.4. Last change: 2015 Jul 28
1+
*cmdline.txt* For Vim version 7.4. Last change: 2015 Sep 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -511,6 +511,8 @@ followed by another Vim command:
511511
:argdo
512512
:autocmd
513513
:bufdo
514+
:cdo
515+
:cfdo
514516
:command
515517
:cscope
516518
:debug
@@ -521,6 +523,8 @@ followed by another Vim command:
521523
:help
522524
:helpfind
523525
:lcscope
526+
:ldo
527+
:lfdo
524528
:make
525529
:normal
526530
:perl
@@ -814,12 +818,12 @@ Note: these are typed literally, they are not special keys!
814818
(for FileType, Syntax and SpellFileMissing events).
815819
<sfile> When executing a ":source" command, is replaced with the
816820
file name of the sourced file. *E498*
817-
When executing a function, is replaced with
818-
"function {function-name}"; function call nesting is
819-
indicated like this:
820-
"function {function-name1}..{function-name2}". Note that
821-
filename-modifiers are useless when <sfile> is used inside
822-
a function.
821+
When executing a function, is replaced with:
822+
"function {function-name}[{lnum}]"
823+
function call nesting is indicated like this:
824+
"function {function-name1}[{lnum}]..{function-name2}[{lnum}]"
825+
Note that filename-modifiers are useless when <sfile> is
826+
used inside a function.
823827
<slnum> When executing a ":source" command, is replaced with the
824828
line number. *E842*
825829
When executing a function it's the line number relative to

runtime/doc/editing.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,8 @@ USING THE ARGUMENT LIST
868868
each file.
869869
{not in Vi} {not available when compiled without the
870870
|+listcmds| feature}
871-
Also see |:windo|, |:tabdo| and |:bufdo|.
871+
Also see |:windo|, |:tabdo|, |:bufdo|, |:cdo|, |:ldo|,
872+
|:cfdo| and |:lfdo|
872873

873874
Example: >
874875
:args *.c

runtime/doc/eval.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2015 Jul 21
1+
*eval.txt* For Vim version 7.4. Last change: 2015 Sep 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1747,7 +1747,7 @@ bufexists( {expr}) Number TRUE if buffer {expr} exists
17471747
buflisted( {expr}) Number TRUE if buffer {expr} is listed
17481748
bufloaded( {expr}) Number TRUE if buffer {expr} is loaded
17491749
bufname( {expr}) String Name of the buffer {expr}
1750-
bufnr( {expr}) Number Number of the buffer {expr}
1750+
bufnr( {expr} [, {create}]) Number Number of the buffer {expr}
17511751
bufwinnr( {expr}) Number window number of buffer {expr}
17521752
byte2line( {byte}) Number line number at byte count {byte}
17531753
byteidx( {expr}, {nr}) Number byte index of {nr}'th char in {expr}
@@ -5419,7 +5419,7 @@ setbufvar({expr}, {varname}, {val}) *setbufvar()*
54195419
:call setbufvar("todo", "myvar", "foobar")
54205420
< This function is not available in the |sandbox|.
54215421

5422-
setcharsearch() *setcharsearch()*
5422+
setcharsearch({dict}) *setcharsearch()*
54235423
Set the current character search information to {dict},
54245424
which contains one or more of the following entries:
54255425

@@ -5861,7 +5861,8 @@ split({expr} [, {pattern} [, {keepempty}]]) *split()*
58615861
:let words = split(getline('.'), '\W\+')
58625862
< To split a string in individual characters: >
58635863
:for c in split(mystring, '\zs')
5864-
< If you want to keep the separator you can also use '\zs': >
5864+
< If you want to keep the separator you can also use '\zs' at
5865+
the end of the pattern: >
58655866
:echo split('abc:def:ghi', ':\zs')
58665867
< ['abc:', 'def:', 'ghi'] ~
58675868
Splitting a table where the first element can be empty: >
@@ -6121,6 +6122,9 @@ synID({lnum}, {col}, {trans}) *synID()*
61216122

61226123
{col} is 1 for the leftmost column, {lnum} is 1 for the first
61236124
line. 'synmaxcol' applies, in a longer line zero is returned.
6125+
Note that when the position is after the last character,
6126+
that's where the cursor can be in Insert mode, synID() returns
6127+
zero.
61246128

61256129
When {trans} is non-zero, transparent items are reduced to the
61266130
item that they reveal. This is useful when wanting to know

runtime/doc/farsi.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*farsi.txt* For Vim version 7.4. Last change: 2010 Aug 07
1+
*farsi.txt* For Vim version 7.4. Last change: 2015 Aug 29
22

33

44
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
@@ -59,7 +59,7 @@ o Toggling between Farsi ISIR-3342 standard encoding and Vim Farsi via F9
5959
right-to-left mode, this function is also supported only in right-to-left
6060
mode.
6161

62-
Farsi Fonts *farsi fonts*
62+
Farsi Fonts *farsi-fonts*
6363
-----------
6464

6565
The following files are found in the subdirectories of the '$VIM/farsi/fonts'

0 commit comments

Comments
 (0)