Skip to content

Commit

Permalink
Merge branch 'vim'
Browse files Browse the repository at this point in the history
  • Loading branch information
genoma committed Oct 16, 2014
2 parents c07d8be + a55da9c commit f9c084b
Show file tree
Hide file tree
Showing 22 changed files with 2,045 additions and 1,349 deletions.
4 changes: 4 additions & 0 deletions .hgtags
Original file line number Diff line number Diff line change
Expand Up @@ -3198,3 +3198,7 @@ af998690a8841d4df95cea0bed4246f2ba98e247 v7-4-472
1cdd5804b538d578d71c9d85fddf8805cb200663 v7-4-473
7f2472960aa114ee650fbac399b4561f1d43251b v7-4-474
0446fa17bd95cdb37cd0c14ada32818b43577597 v7-4-475
4c29b75cae193c039f44ad438f772f8af19d2bb3 v7-4-476
f21a2f67bdbb7bb7c5c2352186757c3fd2471ce2 v7-4-477
fcb898dea2bc8b6e89172cb48ef26c56cb79cfdd v7-4-478
e0f2ed0efb49d1d01b978f8a7f0db5cc8813cb1b v7-4-479
10 changes: 6 additions & 4 deletions runtime/doc/map.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*map.txt* For Vim version 7.4. Last change: 2014 Sep 30
*map.txt* For Vim version 7.4. Last change: 2014 Oct 03


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -923,9 +923,11 @@ Examples: ({CURSOR} is where you type a non-keyword character) >
< "test;;" is not expanded
"test ;;" is expanded to "test <endofline>"

To avoid the abbreviation in insert mode: Type part of the abbreviation, exit
insert mode with <Esc>, re-enter insert mode with "a" and type the rest. Or
type CTRL-V before the character after the abbreviation.
To avoid the abbreviation in Insert mode: Type CTRL-V before the character
that would trigger the abbreviation. E.g. CTRL-V <Space>. Or type part of
the abbreviation, exit insert mode with <Esc>, re-enter insert mode with "a"
and type the rest.

To avoid the abbreviation in Command-line mode: Type CTRL-V twice somewhere in
the abbreviation to avoid it to be replaced. A CTRL-V in front of a normal
character is mostly ignored otherwise.
Expand Down
83 changes: 47 additions & 36 deletions runtime/doc/todo.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2014 Oct 02
*todo.txt* For Vim version 7.4. Last change: 2014 Oct 15


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

Regexp problems:
- The NFA engine does not implement the time limit passed to
nfa_regexec_multi()
- Bug with pattern: '\vblock (\d+)\.\n.*\d+%(\1)@<!\.$'
(Lech Lorens, 2014 Feb 3)
- Issue 164: freeze on regexp search.
Expand All @@ -58,67 +60,63 @@ Patch to make getregtype() return the right size for non-linux systems.
(Yasuhiro Matsumoto, 2014 Jul 8)
Breaks test_eval. Inefficient, can we only compute y_width when needed?

Patch to fix 'linebreak' when applying an operator. And fix the test not
actually testing. (Christian Brabandt, 2014 Sep 23)

patch to fix issue 26. (Christian)

Test 11 and 100 do not work properly on Windows.
Patch by Ken Takata (2014 Sep 25)
Alternative patch Oct 1.

Problem that a previous silent ":throw" causes a following try/catch not to
work. (ZyX, 2013 Sep 28)

Patch to avoid problems with encoding conversion with diff.vim.
(Yasuhiro Matsumoto, 2014 Sep 1.
Depends on current language, language of file can be different.

Add books from Steve Oualline to Vim website. (2014 Sep 25)

":cd C:\Windows\System32\drivers\etc*" does not work, even though the
directory exists. (Sergio Gallelli, 2013 Dec 29)

Patch to have the fold and sign column and at the last line of the buffer.
(Marco Hinz, 2014 Sep 25)
Alternate suggestion: let all columns continue, also number column.

Patch by Marcin Szamotulski to add count to :close (2014 Aug 10, update Aug
14, Aug 30)
Make ":1close" close the first window.
Make ":+1close" close the next window.
Make ":-1close" close the previous window.
Doesn't look right, asked for updates.

Patch to handle multi-byte printer name on MS-Windows. (Yasuhiro Matsumoto,
2014 Sept 28)

Two patches by Christian, 2014 Sep 29:
- Combination of precedes listchar and 'showbreak' doesn't work well.
- Moving cursor is off when 'nu' and 'sbr' are set.

The entries added by matchaddpos() are returned by getmatches() but can't be
set with setmatches(). (lcd47, 2014 Jun 29)

Patch to fix window title for a command window on MS-Windows. (Yasuhiro
Matsumoto, 2014 Sep 28)

Patch to fix that 0x80 in abbreviation isn't handled correctly.
(Christian Brabandt, 2014 Oct 1)

Check for valid yank reg seems wrong. Patch by Zyx, 2014 Oct 12.

":sign-jump" uses first window in buffer instead of current window.
Patch by James McCoy, 2013 Nov 22. Update 2014 Oct 5.

Patch to fix issue 57, on the issue.

Patch for issue 101, maintainer unreachable.

Gvim: when both Tab and CTRL-I are mapped, use CTRL-I not for Tab.

Patch to fix that last_changedtick is not update on saving. (Christian
Brabandt, 2014 Oct 10, second one)

substitute() can be slow with long strings. Patch by Ozaki Kiichi, 2014 Oct
12.

Remove restriction in NSIS installer that the end of the path must be "Vim".
(Tim Lebedkov, 2014 Sep 24)
(Tim Lebedkov, 2014 Sep 24) Again Oct 12.

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

Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)

'foldexpr' applies to help. (Paul Marshall, 2014 Sep 24)

Patch to fix issue 203. (Christian Brabandt, 2014 Oct 8)

Patch to fix issue 253. (Christian Brabandt, 2014 Oct 8)

Patch to fix issue 78. (Christian Brabandt, 2014 Oct 8)

Patch to fix leak in map() with error. (Christian Brabandt, 2014 Oct 11)

Value returned by virtcol() changes depending on how lines wrap. This is
inconsistent with the documentation.

Expand All @@ -142,9 +140,19 @@ Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)

Patch to make closed folds line up. (Charles Campbell, 2014 Sep 12)

Patch for building a 32bit Vim with 64bit MingW compiler.
(Michael Soyka, 2014 Oct 15)

Delete old code in os_msdos.c, mch_FullName().

"hi link" does not respect groups with GUI settings only. (Mark Lodato, 2014
Jun 8)

Patch to switch to the BT regexp engine when the NFA engine uses many states.
(Christian Brabandt, 2014 Oct 3)

Patch to add argument to :cquit. (Thinca, 2014 Oct 12)

No error for missing endwhile. (ZyX, 2014 Mar 20)

start_global_changes() plus end_global_changes() causes problem for
Expand Down Expand Up @@ -338,9 +346,6 @@ buffer. (2013 Dec 9)
Patch for drag&drop reordering of GUI tab pages reordering.
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)

":sign-jump" uses first window in buffer instead of current window.
Patch by James McCoy, 2013 Nov 22.

GTK: problem with 'L' in 'guioptions' changing the window width.
(Aaron Cornelius, 2012 Feb 6)

Expand Down Expand Up @@ -414,7 +419,7 @@ Patch to allow setting w:quickfix_title via setqflist() and setloclist()
functions. (Christian Brabandt, 2013 May 8, update May 21)
Patch to add getlocstack() / setlocstack(). (Christian Brabandt, 2013 May 14)
Second one. Update May 22.
Update by Daniel Hahler, 2014 Jul 4, Aug 14.
Update by Daniel Hahler, 2014 Jul 4, Aug 14, Oct 14, Oct 15.

Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec)

Expand Down Expand Up @@ -551,6 +556,10 @@ URXVT:
- Use urxvt mouse support also in xterm. Explanations:
http://www.midnight-commander.org/ticket/2662

Patch to have the fold and sign column and at the last line of the buffer.
(Marco Hinz, 2014 Sep 25)
Alternate suggestion: let all columns continue, also the number column.

Patch to add tests for if_xcmdsrv.c., Jul 8, need some more work. (Brian Burns)
New tests Jul 13. Update Jul 17. Discussion Jul 18.

Expand Down Expand Up @@ -1007,6 +1016,12 @@ to avoid changing 'eventignore'?
Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6)
Probably needs a bit of work.

Patch to add farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2)
Added test, updates, June 23.
Updated for 7.4: http://litcave.rudi.ir/farsi_vim.diff
With modification for Tatweel character: https://dpaste.de/VmFw
Remark from Ameretat Reith (2014 Oct 13)

List of encoding aliases. (Takao Fujiwara, 2009 Jul 18)
Are they all OK? Update Jul 22.

Expand All @@ -1025,10 +1040,6 @@ on the first character. (John Beckett, 2010 Aug 7)
Setting 'tags' to "tagsdir/*" does not find "tagsdir/tags". (Steven K. Wong,
2009 Jul 18)

Patch to add farsi handling to arabic.c (Ali Gholami Rudi, 2009 May 2)
Added test, updates, June 23.
Updated for 7.4: http://litcave.rudi.ir/farsi_vim.diff

Patch to add "focusonly" to 'scrollopt', so that scrollbind also applies in
window that doesn't have focus. (Jonathon Mah, 2009 Jan 12)
Needs more work.
Expand Down Expand Up @@ -1960,7 +1971,7 @@ More patches:
- testdir/Make_dos_sh.mak for running tests with MingW. (Bill Mccarthy, 2008
Sep 13)
- Patch for adding "space" item in 'listchars'. (Jérémie Roquet, 2009 Oct 29,
Docs patch Oct 30, update David Burgin (glts) 2013 Aug 24)
Docs patch Oct 30, update David Burgin (glts) 2013 Aug 24, 2014 Oct 10)
- Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by
Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts
more friendly for the Vim distribution.
Expand Down
8 changes: 4 additions & 4 deletions runtime/filetype.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <[email protected]>
" Last Change: 2014 Sep 05
" Last Change: 2014 Oct 09

" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
Expand Down Expand Up @@ -1151,7 +1151,7 @@ au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
au BufNewFile,BufRead *.map setf map

" Markdown
au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,README.md setf markdown
au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md setf markdown

" Mason
au BufNewFile,BufRead *.mason,*.mhtml,*.comp setf mason
Expand Down Expand Up @@ -1243,8 +1243,8 @@ au BufNewFile,BufRead *.mod
\ setf modsim3 |
\ endif

" Modula 2
au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.md,*.mi setf modula2
" Modula 2 (.md removed in favor of Markdown)
au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.mi setf modula2

" Modula 3 (.m3, .i3, .mg, .ig)
au BufNewFile,BufRead *.[mi][3g] setf modula3
Expand Down
22 changes: 12 additions & 10 deletions runtime/lang/menu_chinese_gb.936.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
" Menu Translations: Simplified Chinese <[email protected]>
" Translated By: Yuheng Xie <[email protected]>
" Last Change: Tue Apr 18 22:00:00 2006
" Menu Translations: Simplified Chinese
" Maintainer: Shun Bai <[email protected]>
" Previous Maintainer: Yuheng Xie <[email protected]>
" Last Change: 2014 Oct 15

" vim: ts=8 sw=8 noet

Expand Down Expand Up @@ -90,13 +91,14 @@ menutrans Toggle\ &Right\ Scrollbar
menutrans F&ile\ Settings 文件设定(&I)

" Boolean options
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! 开/关扩展\ tab(&E)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! 开/关\ C\ 缩进(&C)<Tab>:set\ cin!
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr!
menutrans Toggle\ &expand-tab<Tab>:set\ et! 开/关扩展\ tab(&E)<Tab>:set\ et!
menutrans Toggle\ &auto-indent<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai!
menutrans Toggle\ &C-indenting<Tab>:set\ cin! 开/关\ C\ 缩进(&C)<Tab>:set\ cin!

" other options
menutrans &Shiftwidth 缩进宽度(&S)
Expand Down
8 changes: 5 additions & 3 deletions runtime/lang/menu_zh_cn.gb2312.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
" Menu Translations: Simplified Chinese <[email protected]>
" Translated By: Yuheng Xie <[email protected]>
" Last Change: Tue Apr 18 22:00:00 2006
" Menu Translations: Simplified Chinese
" Maintainer: Shun Bai <[email protected]>
" Previous Maintainer: Yuheng Xie <[email protected]>
" Last Change: 2014 Oct 15

" vim: ts=8 sw=8 noet

Expand Down Expand Up @@ -94,6 +95,7 @@ menutrans F&ile\ Settings

" Boolean options
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr!
Expand Down
8 changes: 5 additions & 3 deletions runtime/lang/menu_zh_cn.utf-8.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
" Menu Translations: Simplified Chinese <[email protected]>
" Translated By: Yuheng Xie <[email protected]>
" Last Change: Tue Apr 18 22:00:00 2006
" Menu Translations: Simplified Chinese
" Maintainer: Shun Bai <[email protected]>
" Previous Maintainer: Yuheng Xie <[email protected]>
" Last Change: 2014 Oct 15

" vim: ts=8 sw=8 noet

Expand Down Expand Up @@ -91,6 +92,7 @@ menutrans F&ile\ Settings 文件设定(&I)

" Boolean options
menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu!
menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu!
menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list!
menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap!
menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr!
Expand Down
4 changes: 3 additions & 1 deletion runtime/optwin.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <[email protected]>
" Last Change: 2014 Aug 06
" Last Change: 2014 Oct 09

" If there already is an option window, jump to that one.
if bufwinnr("option-window") > 0
Expand Down Expand Up @@ -739,6 +739,7 @@ call <SID>OptionG("km", &km)

call <SID>Header("editing text")
call append("$", "undolevels\tmaximum number of changes that can be undone")
call append("$", "\t(global or local to buffer)")
call append("$", " \tset ul=" . &ul)
call append("$", "undoreload\tmaximum number lines to save for undo on a buffer reload")
call append("$", " \tset ur=" . &ur)
Expand Down Expand Up @@ -988,6 +989,7 @@ call <SID>BinOptionG("bk", &bk)
call append("$", "backupskip\tpatterns that specify for which files a backup is not made")
call append("$", " \tset bsk=" . &bsk)
call append("$", "backupcopy\twhether to make the backup as a copy or rename the existing file")
call append("$", "\t(global or local to buffer)")
call append("$", " \tset bkc=" . &bkc)
call append("$", "backupdir\tlist of directories to put backup files in")
call <SID>OptionG("bdir", &bdir)
Expand Down
Loading

0 comments on commit f9c084b

Please sign in to comment.