Skip to content

Commit 655e0a8

Browse files
committed
Merge branch 'vim'
2 parents ce0bd68 + a7aeaef commit 655e0a8

File tree

18 files changed

+877
-428
lines changed

18 files changed

+877
-428
lines changed

.hgtags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2773,3 +2773,5 @@ c21b2f52f1dd003d860e3b574602ed3fdc2b4f1c v7-4-047
27732773
31c9acfeda8f1b84d51a480c1efbb56f384e76b1 v7-4-048
27742774
15c1b8a20da6d650ee3ed0e73c2e3832093b60dd v7-4-049
27752775
eb33cadafcabfc9cb3fc0741e169e84cafec11f8 v7-4-050
2776+
e7a2f217a385e6aebfddc4d29182924ac017d262 v7-4-051
2777+
b9c1c1f4cda9b82a2e703feec441d865b4722d56 v7-4-052

runtime/doc/if_perl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_perl.txt* For Vim version 7.4. Last change: 2012 Oct 25
1+
*if_perl.txt* For Vim version 7.4. Last change: 2013 Oct 05
22

33

44
VIM REFERENCE MANUAL by Sven Verdoolaege

runtime/doc/index.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 7.4. Last change: 2013 Jul 17
1+
*index.txt* For Vim version 7.4. Last change: 2013 Oct 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1191,12 +1191,12 @@ tag command action ~
11911191
|:digraphs| :dig[raphs] show or enter digraphs
11921192
|:display| :di[splay] display registers
11931193
|:djump| :dj[ump] jump to #define
1194-
|:dl| :dl short for |:delete|
1195-
|:dl| :del[ete]l short for |:delete|
1194+
|:dl| :dl short for |:delete| with the 'l' flag
1195+
|:dl| :del[ete]l short for |:delete| with the 'l' flag
11961196
|:dlist| :dli[st] list #defines
11971197
|:doautocmd| :do[autocmd] apply autocommands to current buffer
11981198
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
1199-
|:dp| :d[elete]p short for |:delete|
1199+
|:dp| :d[elete]p short for |:delete| with the 'p' flag
12001200
|:drop| :dr[op] jump to window editing file or edit file in
12011201
current window
12021202
|:dsearch| :ds[earch] list one #define

runtime/doc/os_win32.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ the default value of 'term' from the environment variable "TERM".
9393
$PATH *win32-PATH*
9494

9595
The directory of the Vim executable is appended to $PATH. This is mostly to
96-
make "!xxd' work, as it is in the Tools menu. And it also means that when
96+
make "!xxd" work, as it is in the Tools menu. And it also means that when
9797
executable() returns 1 the executable can actually be executed.
9898

9999
==============================================================================

runtime/doc/tagsrch.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*tagsrch.txt* For Vim version 7.4. Last change: 2013 Jul 28
1+
*tagsrch.txt* For Vim version 7.4. Last change: 2013 Oct 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -771,11 +771,11 @@ CTRL-W i Open a new window, with the cursor on the first line
771771

772772
*:dli* *:dlist*
773773
:[range]dli[st][!] [/]string[/]
774-
Like "[D" and "]D", but search in [range] lines
774+
Like `[D` and `]D`, but search in [range] lines
775775
(default: whole file).
776776
See |:search-args| for [/] and [!]. {not in Vi}
777-
Note that ":dl" works like ":delete" with the "l"
778-
register.
777+
Note that `:dl` works like `:delete` with the "l"
778+
flag, not `:dlist`.
779779

780780
*[_CTRL-D*
781781
[ CTRL-D Jump to the first macro definition that contains the

runtime/doc/todo.txt

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2013 Sep 22
1+
*todo.txt* For Vim version 7.4. Last change: 2013 Oct 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,19 +34,9 @@ not be repeated below, unless there is extra information.
3434
*known-bugs*
3535
-------------------- Known bugs and current work -----------------------
3636

37-
NFA engine mismatch, with example. (ZyX, 2013 Aug 29)
38-
39-
NFA engine difference, with test case. (Axel Bender, 2013 Sep 17)
40-
Comments from Vlad Irnov Sep 18.
41-
4237
Problem positioning the cursor after auto-formatting without a comment. (Tor
4338
Perkins, 2013 Sep 1)
4439

45-
Patch to fix test 92 and 93 failing in a bad way. (Hirohito Higashi, 2013 Sep
46-
11)
47-
48-
Patch to fix using "p" in Visual block mode. (Christian Brabandt, 2013 Sep 19)
49-
5040
Using \1 in pattern goes one line too far. (Bohr Shaw, 2013 Sep 5)
5141
Column is OK. "/\v(^.+\n)\1/e" (John Little, Sep 5)
5242
Also, matches start of 2nd line, not the whole line.
@@ -55,38 +45,30 @@ Error for incomplete help argument. (John Beckett, 2013 Sep 12)
5545

5646
Popup menu: first item is not selected when typing more than one character?
5747

58-
Patch to add async functionality. (Geoff Greer, 2013 Sep 1)
59-
60-
Patch to avoid mouse cursor flickering. (Ken Takata,, 2013 Sep 2)
61-
62-
Patch to make zg and zb work better. (Christian Brabandt, 2013 Sep 8)
63-
64-
Patch to fix that VC10 does not stat() a symlink to a directory.
65-
(Ken Takata,, 2013 Sep 20) Update Sep 21
66-
6748
Should win_redr_custom() not be allowed to use recursively?
6849
(Yasuhiro Matsumoto, 2013 Aug 15)
6950

7051
NFA engine combining character mismatch. (glts, 2013 Aug 27)
7152
Remark Dominique, Aug 27
7253

73-
Patch to make Tcl 8.6 work. (Issue 167)
74-
75-
Patch to make input() work while inside :normal. (Yasuhiro Matsumoto, 2013 Sep
76-
19)
54+
Problem that a previous silent ":throw" causes a following try/catch not to
55+
work. (ZyX, 2013 Sep 28)
7756

7857
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
7958

8059
Issue 164: freeze on regexp search.
8160

82-
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
61+
Update for Clojure ftplugin. (Sung Pae). Await discussion about formatting in
62+
ftplugins.
8363

84-
Patch to fix substitute prompt with line number. (Benoit Pierre, 2013 Aug 27,
85-
third message)
64+
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
8665

8766
Patch to avoid problem with colon in file name. (Yasuhiro Matsumoto, 2013 Sep
8867
5) Only copy file name when needed: Sep 9.
8968

69+
Patch to make #N in 'cino' stop not indenting #lines. (Christian Brabandt,
70+
2013 Sep 25)
71+
9072
Include systemverilog file? Two votes yes.
9173

9274
Wrapping around end of file does not work for "." after "cgn". (Dimitar
@@ -108,6 +90,12 @@ Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
10890
Patch to make has() check for Vim version and patch at the same time.
10991
(Marc Weber, 2013 Jun 7)
11092

93+
Patch to fix Visual-block insert using cursor keys. (Christian Brabandt, 2013
94+
Sep 28) With test Sept 29.
95+
96+
VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
97+
instead. (Samuel Ferencik, 2013 Sep 28)
98+
11199
Several syntax file match "^\s*" which may get underlined if that's in the
112100
highlight group. Add a "\zs" after it?
113101

@@ -118,6 +106,14 @@ Patch 2013 Sept 10, test: Sept 11.
118106

119107
Go through more coverity reports.
120108

109+
Bug: Does not skip over expression with dict member properly. (ZyX, 2013 Sep
110+
29)
111+
112+
Patch to make ColorScheme autocommand match with the colorscheme name instead
113+
of the buffer name. (Christian Brabandt, 2013 Sep 25)
114+
115+
Patch to right-align signs. (James Kolb (email james), 2013 Sep 23)
116+
121117
With "$" in 'cpoptions' the popup menu isn't fully drawn. (Matti Niemenmaa,
122118
2013 Sep 5)
123119

@@ -131,6 +127,9 @@ Patches to fix this. (Ken Takata, 2013 Aug 9)
131127

132128
:help gives example for z?, but it does not work. m? and t? do work.
133129

130+
Python: Extended funcrefs: use func_T* structure in place of char_u* function
131+
names. (ZyX, 2013 Jul 15, update Sep 22, 24, 28)
132+
134133
Patch to add funcref to Lua. (Luis Carvalho, 2013 Sep 4)
135134
With tests: Sep 5.
136135

@@ -280,9 +279,6 @@ b:undo_ftplugin cannot call a script-local function. (Boris Danilov, 2013 Jan
280279
Win32: The Python interface only works with one version of Python, selected at
281280
compile time. Can this be made to work with version 2.1 and 2.2 dynamically?
282281

283-
Python: Extended funcrefs: use func_T* structure in place of char_u* function
284-
names. (ZyX, 2013 Jul 15 and later)
285-
286282
Python: Be able to define a Python function that can be called directly from
287283
Vim script. Requires converting the arguments and return value, like with
288284
vim.bindeval().
@@ -387,6 +383,7 @@ And one for gui_x11.txt.
387383
More recent version: https://retracile.net/wiki/VimBreakIndent
388384
Posted to vim-dev by Taylor Hedberg, 2011 Nov 25
389385
Update by Taylor Hedberg, 2013 May 30.
386+
Updated for Vim 7.4 by Ken Takata, 2013 Oct 5.
390387

391388
":cd" doesn't work when current directory path contains "**".
392389
finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10)
@@ -989,7 +986,7 @@ correct. Don't use it in the swap file.
989986
Completion for ":buf" doesn't work properly on Win32 when 'shellslash' is off.
990987
(Henrik Ohman, 2009, Jan 29)
991988

992-
shellescape() depends on 'shellshash' for quoting. That doesn't work when
989+
shellescape() depends on 'shellslash' for quoting. That doesn't work when
993990
'shellslash' is set but using cmd.exe. (Ben Fritz)
994991
Use a different option or let it depend on whether 'shell' looks like a
995992
unix-like shell?
@@ -1403,7 +1400,7 @@ Ebersbach, 2008 Feb 1)
14031400

14041401
Menu item that does "xxd -r" doesn't work when 'fileencoding' is utf-16.
14051402
Check for this and use iconv? (Edward L. Fox, 2007 Sep 12)
1406-
Does the conversion in the other direction work when 'filenecodings' is set
1403+
Does the conversion in the other direction work when 'fileencodings' is set
14071404
properly?
14081405

14091406
Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
@@ -1817,7 +1814,7 @@ Awaiting updated patches:
18171814
How does this work? Missing comments.
18181815
8 Add a few more command names to the menus. Patch from Jiri Brezina
18191816
(28 feb 2002). Will mess the translations...
1820-
7 ATTENTION dialog choices are more logical when "Delete it' appears
1817+
7 ATTENTION dialog choices are more logical when "Delete it" appears
18211818
before "Quit". Patch by Robert Webb, 2004 May 3.
18221819
- Include flipcase patch: ~/vim/patches/wall.flipcase2 ? Make it work
18231820
for multi-byte characters.
@@ -3250,6 +3247,7 @@ Syntax highlighting:
32503247
Built-in script language:
32513248
8 Make the filename and line number available to script functions, so that
32523249
they can give useful debugging info. The whole call stack would be ideal.
3250+
At least use this for error messages.
32533251
7 Execute a function with standard option values. No need to save and
32543252
restore option values. Especially useful for new options. Problem: how
32553253
to avoid a performance penalty (esp. for string options)?
@@ -4752,7 +4750,7 @@ Marks:
47524750

47534751
Digraphs:
47544752
7 Make "ga" show the keymap for a character, if it exists.
4755-
Also show the code of the character after conversion to 'filenecoding'.
4753+
Also show the code of the character after conversion to 'fileencoding'.
47564754
- Use digraph table to tell Vim about the collating sequence of special
47574755
characters?
47584756
8 Add command to remove one or more (all) digraphs. (Brown)

runtime/doc/usr_25.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ line, type: >
8686
8787
v4jgq
8888
89-
"v" to start Visual mode, "4j' to move to the end of the paragraph and then
89+
"v" to start Visual mode, "4j" to move to the end of the paragraph and then
9090
the "gq" operator. The result is:
9191

9292
1 2 3

runtime/ftplugin/fortran.vim

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
" Vim settings file
22
" Language: Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66)
3-
" Version: 0.48
4-
" Last Change: 2012 Apr. 18
5-
" Maintainer: Ajit J. Thakkar <[email protected]>; <http://www.unb.ca/chem/ajit/>
3+
" Version: 0.49
4+
" Last Change: 2013 Oct. 01
5+
" Maintainer: Ajit J. Thakkar <[email protected]>; <http://www2.unb.ca/~ajit/>
66
" Usage: Do :help fortran-plugin from Vim
77
" Credits:
8-
" Useful suggestions were made by Stefano Zacchiroli, Hendrik Merx, and Ben
9-
" Fritz.
8+
" Useful suggestions were made by Stefano Zacchiroli, Hendrik Merx, Ben
9+
" Fritz, and David Barnett.
1010

1111
" Only do these settings when not done yet for this buffer
1212
if exists("b:did_ftplugin")
@@ -64,8 +64,8 @@ if (b:fortran_fixed_source == 1)
6464
" setlocal tw=73
6565
else
6666
setlocal comments=:!
67-
" Free format allows a textwidth of 132 for code but 80 is more usual
68-
setlocal tw=80
67+
" Free format allows a textwidth of 132
68+
setlocal tw=132
6969
endif
7070

7171
" Set commentstring for foldmethod=marker
@@ -76,8 +76,8 @@ if !exists("fortran_have_tabs")
7676
setlocal expandtab
7777
endif
7878

79-
" Set 'formatoptions' to break comment and text lines but allow long lines
80-
setlocal fo+=tcql
79+
" Set 'formatoptions' to break text lines
80+
setlocal fo+=t
8181

8282
setlocal include=^\\c#\\=\\s*include\\s\\+
8383
setlocal suffixesadd+=.f08,.f03,.f95,.f90,.for,.f,.F,.f77,.ftn,.fpp
@@ -114,7 +114,7 @@ if has("gui_win32") && !exists("b:browsefilter")
114114
\ "All Files (*.*)\t*.*\n"
115115
endif
116116

117-
let b:undo_ftplugin = "setl fo< com< tw< cms< et< inc<"
117+
let b:undo_ftplugin = "setl fo< com< tw< cms< et< inc< sua<"
118118
\ . "| unlet! b:match_ignorecase b:match_words b:browsefilter"
119119

120120
let &cpoptions=s:cposet

runtime/ftplugin/python.vim

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
" Vim filetype plugin file
22
" Language: python
33
" Maintainer: Johannes Zellner <[email protected]>
4-
" Last Change: Wed, 21 Apr 2004 13:13:08 CEST
4+
" Last Change: 2013 Sep 25
5+
" Last Change By Johannes: Wed, 21 Apr 2004 13:13:08 CEST
56

67
if exists("b:did_ftplugin") | finish | endif
78
let b:did_ftplugin = 1
@@ -44,5 +45,21 @@ if has("gui_win32") && !exists("b:browsefilter")
4445
\ "All Files (*.*)\t*.*\n"
4546
endif
4647

48+
" As suggested by PEP8.
49+
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
50+
51+
" First time: try finding "pydoc".
52+
if !exists('g:pydoc_executable')
53+
if executable('pydoc')
54+
let g:pydoc_executable = 1
55+
else
56+
let g:pydoc_executable = 0
57+
endif
58+
endif
59+
" If "pydoc" was found use it for keywordprg.
60+
if g:pydoc_executable
61+
setlocal keywordprg=pydoc
62+
endif
63+
4764
let &cpo = s:keepcpo
4865
unlet s:keepcpo

0 commit comments

Comments
 (0)