summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
commit9b4512500adfab4d44e957329d1a89e97e9a3930 (patch)
treeafb71cc9c0ca20c627152976791923513e69afff /runtime
parentdd82d699c8cb3e60b2da968fb40622dc497f71ca (diff)
Update runtime files.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/change.txt4
-rw-r--r--runtime/doc/diff.txt4
-rw-r--r--runtime/doc/editing.txt4
-rw-r--r--runtime/doc/eval.txt6
-rw-r--r--runtime/doc/gui_w32.txt14
-rw-r--r--runtime/doc/if_perl.txt10
-rw-r--r--runtime/doc/if_pyth.txt12
-rw-r--r--runtime/doc/if_ruby.txt10
-rw-r--r--runtime/doc/if_tcl.txt6
-rw-r--r--runtime/doc/motion.txt3
-rw-r--r--runtime/doc/options.txt7
-rw-r--r--runtime/doc/tabpage.txt4
-rw-r--r--runtime/doc/tags5
-rw-r--r--runtime/doc/todo.txt33
-rw-r--r--runtime/doc/various.txt5
-rw-r--r--runtime/doc/version5.txt8
-rw-r--r--runtime/doc/version7.txt6
-rw-r--r--runtime/doc/vi_diff.txt6
-rw-r--r--runtime/doc/visual.txt13
-rw-r--r--runtime/filetype.vim5
-rw-r--r--runtime/indent/vim.vim12
-rw-r--r--runtime/spell/br/br_FR.diff22
-rw-r--r--runtime/spell/br/main.aap16
-rw-r--r--runtime/syntax/cfg.vim4
-rw-r--r--runtime/syntax/group.vim6
-rw-r--r--runtime/syntax/hgcommit.vim27
-rw-r--r--runtime/syntax/lua.vim41
-rw-r--r--runtime/syntax/rst.vim6
-rw-r--r--runtime/tutor/tutor.hu88
-rw-r--r--runtime/tutor/tutor.hu.cp125088
-rw-r--r--runtime/tutor/tutor.hu.utf-888
31 files changed, 324 insertions, 239 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 7e753f725e..22eff706d2 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.3. Last change: 2012 Jun 13
+*change.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -666,6 +666,8 @@ The flags that you can use for the substitute commands:
[n] Report the number of matches, do not actually substitute. The [c]
flag is ignored. The matches are reported as if 'report' is zero.
Useful to |count-items|.
+ If \= |sub-replace-expression| is used, the expression will be
+ evaluated in the |sandbox| at every match.
[p] Print the line containing the last substitute.
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index ab582dcae0..0e03a57fe1 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 7.3. Last change: 2012 May 18
+*diff.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -333,7 +333,7 @@ diff. This example explains the format that Vim expects: >
The "1a2" item appends the line "bbb".
The "4d4" item deletes the line "111".
-The '7c7" item replaces the line "GGG" with "ggg".
+The "7c7" item replaces the line "GGG" with "ggg".
When 'diffexpr' is not empty, Vim evaluates it to obtain a diff file in the
format mentioned. These variables are set to the file names used:
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index e598f31eea..9f1723a1a6 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 7.3. Last change: 2012 Jul 10
+*editing.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -393,7 +393,7 @@ is to use "path\[[]abc]". Then the file "path[abc]" literally.
*starstar-wildcard*
Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
This allows searching a directory tree. This goes up to 100 directories deep.
-Note there are some commands where this works slightly different, see
+Note there are some commands where this works slightly differently, see
|file-searching|.
Example: >
:n **/*.txt
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 91acac0295..2ae65ff82b 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.3. Last change: 2012 Jul 10
+*eval.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3288,8 +3288,9 @@ getfperm({fname}) *getfperm()*
"rwx" flags represent, in turn, the permissions of the owner
of the file, the group the file belongs to, and other users.
If a user does not have a given permission the flag for this
- is replaced with the string "-". Example: >
+ is replaced with the string "-". Examples: >
:echo getfperm("/etc/passwd")
+ :echo getfperm(expand("~/.vimrc"))
< This will hopefully (from a security point of view) display
the string "rw-r--r--" or even "rw-------".
@@ -6325,6 +6326,7 @@ mouse_gpm Compiled with support for gpm (Linux console mouse)
mouse_netterm Compiled with support for netterm mouse.
mouse_pterm Compiled with support for qnx pterm mouse.
mouse_sysmouse Compiled with support for sysmouse (*BSD console mouse)
+mouse_sgr Compiled with support for sgr mouse.
mouse_urxvt Compiled with support for urxvt mouse.
mouse_xterm Compiled with support for xterm mouse.
mouseshape Compiled with support for 'mouseshape'.
diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt
index 16758b000d..2958282d07 100644
--- a/runtime/doc/gui_w32.txt
+++ b/runtime/doc/gui_w32.txt
@@ -1,4 +1,4 @@
-*gui_w32.txt* For Vim version 7.3. Last change: 2011 Jul 23
+*gui_w32.txt* For Vim version 7.3. Last change: 2012 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -489,4 +489,16 @@ to:
And add gvim to the list of applications. This problem only appears to happen
with the Intellimouse driver 2.2 and when "Universal Scrolling" is turned on.
+
+XPM support *w32-xpm-support*
+
+Gvim can be build on MS-Windows with support for XPM files. |+xpm_w32|
+See the Make_mvc.mak file for instructions, search for XPM.
+
+To try out if XPM support works do this: >
+ :help
+ :exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm'
+ :exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
+<
+
vim:tw=78:sw=4:ts=8:ft=help:norl:
diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt
index ba7466b123..a74d880483 100644
--- a/runtime/doc/if_perl.txt
+++ b/runtime/doc/if_perl.txt
@@ -1,4 +1,4 @@
-*if_perl.txt* For Vim version 7.3. Last change: 2010 Jul 21
+*if_perl.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -44,15 +44,17 @@ The Perl patches for Vim were made by:
Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
Matt Gerassimof
-Perl for MS-Windows can be found at:
-http://www.perl.com/CPAN/ports/nt/Standard/x86/
+Perl for MS-Windows can be found at: http://www.perl.com/
+The ActiveState one should work.
==============================================================================
3. Using the Perl interface *perl-using*
*:perl* *:pe*
:pe[rl] {cmd} Execute Perl command {cmd}. The current package
- is "main".
+ is "main". Simple example to test if `:perl` is
+ working: >
+ :perl VIM::Msg("Hello")
:pe[rl] << {endpattern}
{script}
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index 31a0d07f95..4bdacf66f2 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -1,4 +1,4 @@
-*if_pyth.txt* For Vim version 7.3. Last change: 2012 Feb 04
+*if_pyth.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Paul Moore
@@ -27,7 +27,9 @@ The Python 3 interface is available only when Vim was compiled with the
*:python* *:py* *E205* *E263* *E264*
:[range]py[thon] {stmt}
- Execute Python statement {stmt}.
+ Execute Python statement {stmt}. A simple check if
+ the `:python` command is working: >
+ :python print "Hello"
:[range]py[thon] << {endmarker}
{script}
@@ -362,8 +364,10 @@ sure edit "gvim.exe" and search for "python\d*.dll\c".
8. Python 3 *python3*
*:py3* *:python3*
-The |:py3| and |:python3| commands work similar to |:python|.
- *:py3file*
+The |:py3| and |:python3| commands work similar to |:python|. A simple check
+if the `:py3` command is wrong: >
+ :py3 print("Hello")
+< *:py3file*
The |:py3file| command works similar to |:pyfile|.
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index bac0bb6aa7..71d8edcad3 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -1,4 +1,4 @@
-*if_ruby.txt* For Vim version 7.3. Last change: 2010 Oct 27
+*if_ruby.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Shugo Maeda
@@ -25,7 +25,8 @@ downloading Ruby there.
1. Commands *ruby-commands*
*:ruby* *:rub*
-:rub[y] {cmd} Execute Ruby command {cmd}.
+:rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: >
+ :ruby print "Hello"
:rub[y] << {endpattern}
{script}
@@ -40,9 +41,6 @@ downloading Ruby there.
wasn't compiled in. To avoid errors, see
|script-here|.
-Command to try it out: >
- :ruby print "Hello" # this is a comment
-
Example Vim script: >
function! RedGem()
@@ -211,6 +209,8 @@ for sure edit "gvim.exe" and search for "ruby\d*.dll\c".
If you want to build Vim with Ruby 1.9.1, you need to edit the config.h file
and comment-out the check for _MSC_VER.
+You may also need to rename the include directory name to match the version,
+strangely for Ruby 1.9.3 the directory is called 1.9.1.
==============================================================================
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt
index e7c255606c..f4283a304a 100644
--- a/runtime/doc/if_tcl.txt
+++ b/runtime/doc/if_tcl.txt
@@ -1,4 +1,4 @@
-*if_tcl.txt* For Vim version 7.3. Last change: 2008 Aug 16
+*if_tcl.txt* For Vim version 7.3. Last change: 2012 Aug 02
VIM REFERENCE MANUAL by Ingo Wilken
@@ -27,7 +27,9 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
1. Commands *tcl-ex-commands* *E571* *E572*
*:tcl* *:tc*
-:tc[l] {cmd} Execute Tcl command {cmd}.
+:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
+ is working: >
+ :tcl puts "Hello"
:[range]tc[l] << {endmarker}
{script}
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index e1c937243b..522b717945 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1,4 +1,4 @@
-*motion.txt* For Vim version 7.3. Last change: 2012 Jul 25
+*motion.txt* For Vim version 7.3. Last change: 2012 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -326,6 +326,7 @@ gg Goto line [count], default first line, on the first
non-blank character |linewise|. If 'startofline' not
set, keep the same column.
+ *:[range]*
:[range] Set the cursor on the last line number in [range].
[range] can also be just one line number, e.g., ":1"
or ":'m".
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 949ff830d3..f6beddaacd 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.3. Last change: 2012 Jul 10
+*options.txt* For Vim version 7.3. Last change: 2012 Aug 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6119,6 +6119,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer
Number of spaces to use for each step of (auto)indent. Used for
|'cindent'|, |>>|, |<<|, etc.
+ When zero the 'ts' value will be used.
*'shortmess'* *'shm'*
'shortmess' 'shm' string (Vim default "filnxtToO", Vi default: "",
@@ -7425,6 +7426,10 @@ A jump table for the options with a short description can be found at |Q_op|.
pterm QNX pterm mouse handling.
*urxvt-mouse*
urxvt Mouse handling for the urxvt (rxvt-unicode) terminal.
+ *sgr-mouse*
+ sgr Mouse handling for the terminal that emits SGR-styled
+ mouse reporting. Works with xterm version 277 or
+ later.
The mouse handling must be enabled at compile time |+mouse_xterm|
|+mouse_dec| |+mouse_netterm|.
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index a2da5b3073..b3fbd95225 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -1,4 +1,4 @@
-*tabpage.txt* For Vim version 7.3. Last change: 2010 Jul 31
+*tabpage.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -113,7 +113,7 @@ something else.
this is a "safe" command.
:tabc[lose][!] {count}
- Close tab page {count}. Fails in the same way as ':tabclose"
+ Close tab page {count}. Fails in the same way as `:tabclose`
above.
*:tabo* *:tabonly*
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 3323126c11..0317e386dd 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -1186,6 +1186,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
+mouse_gpm various.txt /*+mouse_gpm*
+mouse_netterm various.txt /*+mouse_netterm*
+mouse_pterm various.txt /*+mouse_pterm*
++mouse_sgr various.txt /*+mouse_sgr*
+mouse_sysmouse various.txt /*+mouse_sysmouse*
+mouse_urxvt various.txt /*+mouse_urxvt*
+mouse_xterm various.txt /*+mouse_xterm*
@@ -1836,6 +1837,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
:X editing.txt /*:X*
:XMLent insert.txt /*:XMLent*
:XMLns insert.txt /*:XMLns*
+:[range] motion.txt /*:[range]*
:\bar cmdline.txt /*:\\bar*
:_! cmdline.txt /*:_!*
:_# cmdline.txt /*:_#*
@@ -5290,6 +5292,7 @@ develop-spell develop.txt /*develop-spell*
develop-spell-suggestions develop.txt /*develop-spell-suggestions*
develop.txt develop.txt /*develop.txt*
development develop.txt /*development*
+dgn motion.txt /*dgn*
dh change.txt /*dh*
diB motion.txt /*diB*
diW motion.txt /*diW*
@@ -7538,6 +7541,7 @@ setuid change.txt /*setuid*
setwinvar() eval.txt /*setwinvar()*
sftp pi_netrw.txt /*sftp*
sgml.vim syntax.txt /*sgml.vim*
+sgr-mouse options.txt /*sgr-mouse*
sh-awk syntax.txt /*sh-awk*
sh-embed syntax.txt /*sh-embed*
sh.vim syntax.txt /*sh.vim*
@@ -8493,6 +8497,7 @@ vt100-cursor-keys term.txt /*vt100-cursor-keys*
vt100-function-keys term.txt /*vt100-function-keys*
w motion.txt /*w*
w32-clientserver remote.txt /*w32-clientserver*
+w32-xpm-support gui_w32.txt /*w32-xpm-support*
w:current_syntax syntax.txt /*w:current_syntax*
w:quickfix_title quickfix.txt /*w:quickfix_title*
w:var eval.txt /*w:var*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 8d2d7e0074..e1efea17a5 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.3. Last change: 2012 Jul 25
+*todo.txt* For Vim version 7.3. Last change: 2012 Aug 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -43,9 +43,6 @@ GTK: problem with 'L' in 'guioptions' changing the window width.
Checking runtime scripts: Thilo Six, 2012 Jun 6.
-List of broken mirrors. (Chris Pentago, 2012 Jun 15)
-/tmp/broken-mirrors.csv
-
Javascript file where indent gets stuck on: GalaxyMaster, 2012 May 3.
The CompleteDone autocommand needs some info passed to it:
@@ -60,21 +57,13 @@ Win32: When a directory name contains an exclamation mark, completion doesn't
complete the contents of the directory. No escaping for the "!"? (Jan
Stocker, 2012 Jan 5)
-Help for v/V is not quite right. (Ben Fritz, 2012 Jun 4)
-Change [count]v to select last visual area [count] times?
-
Issue 54: document behavior of -complete, also expands arg.
Issue 72: 'autochdir' causes problems for :vimgrep.
-Patch for SGR mouse support. (Hayaki Saito, mail from Yakuhiro Matsumoto, 2012
-Jul 13)
-
MS-Windows: Crash opening very long file name starting with "\\".
(Christian Brock, 2012 Jun 29)
-Patch to fix assigning to scope dictionaries for Python. (ZyX, 2012 Jul 16)
-
Syntax update problem in one buffer opened in two windows, bottom window is
not correctly updated. (Paul Harris, 2012 Feb 27)
@@ -83,6 +72,12 @@ Or use expand('<sid>')?
Patch to improve IME handling. (Yasuhiro Matsumoto, 2012 Jul 18)
+Patch for :tabcloseleft, after closing a tab go to left tab. (William Bowers,
+2012 Aug 4)
+
+Crash in autocmd that unloads buffers in a BufUnload event. (Andrew Pimlott,
+2012 Aug 11) Disallow :new when BufUnload is being handled?
+
MS-Windows resizing problems:
- Windows window on screen positioning: Patch by Yukihiro Nakadaira, 2012 Jun
20. Uses getWindowRect() instead of GetWindowPlacement()
@@ -111,9 +106,6 @@ When running Vim in silent ex mode, an existing swapfile causes Vim to wait
for a user action without a prompt. (Maarten Billemont, 2012 Feb 3)
Do give the prompt? Quit with an error?
-Patch for Make_mvc.mak and Make_ming.mak for Ruby support. (Yasuhiro
-Matsumoto, 2012 Jan 30)
-
Patch for 'backupcopy' default behavior for symlinks on Windows. (David Pope,
2012 Mar 21, update Mar 31)
@@ -289,6 +281,10 @@ Vim using lots of memory when joining lines. (John Little, 2010 Dec 3)
Changes to manpage plugin. (Elias Toivanen, 2011 Jul 25)
+Patch to make "z=" work when 'spell' is off. Does this have nasty side
+effects? (Christian Brabandt, 2012 Aug 5)
+Would also need to do this for spellbadword() and spellsuggest().
+
On 64 bit MS-Windows "long" is only 32 bits, but we sometimes need to store a
64 bits value. Change all number options to use nropt_T and define it to the
right type.
@@ -394,7 +390,7 @@ Searching mixed with Visual mode doesn't redraw properly. (James Vega, 2010 Nov
New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
- move compflags to separate growarray?
-- instead of a regexp use a hashtable. Expand '?', '*", '+'. What would be
+- instead of a regexp use a hashtable. Expand '?', '*', '+'. What would be
the maximum repeat for * and +?
"L'Italie" noted as a spell error at start of the sentence. (Dominique Pelle,
@@ -547,7 +543,7 @@ Find tail? Might have a / in argument. Find space? Might have space in
path.
Test 51 fails when language set to German. (Marco, 2011 Jan 9)
-Dominique can't reproduc it.
+Dominique can't reproduce it.
'ambiwidth' should be global-local.
@@ -602,9 +598,6 @@ When a:base in 'completefunc' starts with a number it's passed as a number,
not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a
string value.
-":e ~br<Tab>" does not complete to ":e /home/bram/". Would need to use
-getpwent() to find all the matches.
-
Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
For running gvim on an USB stick: avoid the OLE registration. Use a command
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index b039e69d59..f4107e6e7c 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.3. Last change: 2012 Jan 15
+*various.txt* For Vim version 7.3. Last change: 2012 Aug 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -355,6 +355,7 @@ N *+mouse_gpm* Unix only: Linux console mouse handling |gpm-mouse|
B *+mouse_netterm* Unix only: netterm mouse handling |netterm-mouse|
N *+mouse_pterm* QNX only: pterm mouse handling |qnx-terminal|
N *+mouse_sysmouse* Unix only: *BSD console mouse handling |sysmouse|
+B *+mouse_sgr* Unix only: sgr mouse handling |sgr-mouse|
N *+mouse_urxvt* Unix only: urxvt mouse handling |urxvt-mouse|
N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse|
B *+multi_byte* 16 and 32 bit characters |multibyte|
@@ -415,7 +416,7 @@ S *+windows* more than one window
m *+writebackup* |'writebackup'| is default on
m *+xim* X input method |xim|
*+xfontset* X fontset support |xfontset|
-m *+xpm_w32* Win32 GUI only: pixmap support |:sign-define|
+m *+xpm_w32* Win32 GUI only: pixmap support |w32-xpm-support|
*+xsmp* XSMP (X session management) support
*+xsmp_interact* interactive XSMP (X session management) support
N *+xterm_clipboard* Unix only: xterm clipboard handling
diff --git a/runtime/doc/version5.txt b/runtime/doc/version5.txt
index 868d129049..4c9ccd9e2d 100644
--- a/runtime/doc/version5.txt
+++ b/runtime/doc/version5.txt
@@ -1,4 +1,4 @@
-*version5.txt* For Vim version 7.3. Last change: 2008 Dec 17
+*version5.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6,7 +6,7 @@
Welcome to Vim Version 5.0!
This document lists the differences between Vim 4.x and Vim 5.0.
-Although 5.0 is mentioned here, this is also for version 5.1, 5.2, etc..
+Although 5.0 is mentioned here, this is also for version 5.1, 5.2, etc.
See |vi_diff.txt| for an overview of differences between Vi and Vim 5.0.
See |version4.txt| for differences between Vim 3.0 and Vim 4.0.
@@ -3888,7 +3888,7 @@ character is typed. Helps to close a /* */ comment in C. (Webb)
When expand() has a second argument which is non-zero, don't use 'suffixes'
and 'wildignore', return all matches.
-'O' flag in 'cpoptions: When not included, Vim will not overwrite a file, if
+'O' flag in 'cpoptions' When not included, Vim will not overwrite a file, if
it didn't exist when editing started but it does exist when the buffer is
written to the file. The file must have been created outside of Vim, possibly
without the user knowing it. When this is detected after a shell command,
@@ -4499,7 +4499,7 @@ Could not get all windows back when using a smaller terminal screen. Didn't
restore all windows when "winsize" was not in 'sessionoptions'. (Webb)
Command line completion for ":buffer" depended on 'ignorecase' for Unix, but
-not for DOS et al.. Now don't use 'ignorecase', but let it depend on whether
+not for DOS et al. Now don't use 'ignorecase', but let it depend on whether
file names are case sensitive or not (like when expanding file names).
Win32 GUI: (Negri)
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index d724f651d1..5882ab9d2b 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.3. Last change: 2010 Nov 03
+*version7.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3587,7 +3587,7 @@ Files: src/eval.c, src/getchar.c, src/globals.h, src/main.c
Patch 7.0.085
Problem: When doing "make test" the viminfo file is modified.
-Solution: Use another viminfo file after setting 'compatible.
+Solution: Use another viminfo file after setting 'compatible'.
Files: src/testdir/test56.in
Patch 7.0.086
@@ -7314,8 +7314,6 @@ Command line completion for :lmap and :lunmap.
Support syntax and filetype completion for user commands. (Christian Brabandt)
-Add completion for ":ownsyntax" and improve completion for ":filetype".
-
Avoid use of the GTK main_loop() so that the GtkFileChooser can be used.
(James Vega)
diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt
index 8379667ff0..f2f3aa1647 100644
--- a/runtime/doc/vi_diff.txt
+++ b/runtime/doc/vi_diff.txt
@@ -1,4 +1,4 @@
-*vi_diff.txt* For Vim version 7.3. Last change: 2011 Aug 29
+*vi_diff.txt* For Vim version 7.3. Last change: 2012 Aug 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -192,7 +192,7 @@ Syntax highlighting. |:syntax|
Spell checking. |spell|
When the 'spell' option is set Vim will highlight spelling mistakes.
- About 40 languages are currently supported, selected with the
+ About 50 languages are currently supported, selected with the
'spelllang' option. In source code only comments and strings are
checked for spelling.
@@ -653,7 +653,7 @@ You can backspace, CTRL-U and CTRL-W over line breaks if the 'backspace' (bs)
option includes "eol". You can backspace over the start of insert if the
'backspace' option includes "start".
-When the 'paste' option is set, a few option are reset and mapping in insert
+When the 'paste' option is set, a few options are reset and mapping in insert
mode and abbreviation are disabled. This allows for pasting text in windowing
systems without unexpected results. When the 'paste' option is reset, the old
option values are restored.
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index a8c8ce6722..6d85075efa 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -1,4 +1,4 @@
-*visual.txt* For Vim version 7.3. Last change: 2012 Jul 25
+*visual.txt* For Vim version 7.3. Last change: 2012 Aug 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -62,8 +62,15 @@ position.
*v* *characterwise-visual*
[count]v Start Visual mode per character.
- With [count] select that many characters, like moving
- the cursor right [count] characters. One less when
+ With [count] select the same number of characters or
+ lines as used for the last Visual operation, but at
+ the current cursor position, multiplied by [count].
+ When the previous Visual operation was on a block both
+ the width and height of the block are multipiled by
+ [count].
+ When there was no previous Visual operation [count]
+ characters are selected. This is like moving the
+ cursor right N * [count] characters. One less when
'selection' is not "exclusive".
*V* *linewise-visual*
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 678ce81977..45cf6309a4 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2012 Jun 20
+" Last Change: 2012 Aug 02
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
@@ -1119,6 +1119,9 @@ au BufNewFile,BufRead *.nb setf mma
" Maya Extension Language
au BufNewFile,BufRead *.mel setf mel
+" Mercurial (hg) commit file
+au BufNewFile,BufRead hg-editor-*.txt setf hgcommit
+
" Mercurial config (looks like generic config file)
au BufNewFile,BufRead *.hgrc,*hgrc setf cfg
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim
index a17bae1674..8c215733b3 100644
--- a/runtime/indent/vim.vim
+++ b/runtime/indent/vim.vim
@@ -1,7 +1,7 @@
" Vim indent file
" Language: Vim script
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2012 May 20
+" Last Change: 2012 Aug 02
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -22,6 +22,16 @@ let s:keepcpo= &cpo
set cpo&vim
function GetVimIndent()
+ let ignorecase_save = &ignorecase
+ try
+ let &ignorecase = 0
+ return GetVimIndentIntern()
+ finally
+ let &ignorecase = ignorecase_save
+ endtry
+endfunc
+
+function GetVimIndentIntern()
" Find a non-blank line above the current line.
let lnum = prevnonblank(v:lnum - 1)
diff --git a/runtime/spell/br/br_FR.diff b/runtime/spell/br/br_FR.diff
index e2ec71049e..4c890dfa58 100644
--- a/runtime/spell/br/br_FR.diff
+++ b/runtime/spell/br/br_FR.diff
@@ -1,13 +1,23 @@
-*** br_FR.orig.aff 2010-04-14 18:44:36.365731271 +0200
---- br_FR.aff 2010-04-14 18:43:31.069137439 +0200
+*** br_FR.aff.orig 2012-08-01 22:40:24.000000000 +0200
+--- br_FR.aff 2012-08-01 22:46:03.028851510 +0200
***************
-*** 9,14 ****
---- 9,16 ----
+*** 13,20 ****
+ SET UTF-8
+ TRY esiaùnñrtolcdugmphbyfvkwzESIAÙNÑRTOLCDUGMPHBYFVKWZ'
+
+ # Permet à l'utilitaire en ligne de commande hunspell de fonctionner avec les mots contenant des quotes (lec'hienn, ...)
+! WORDCHARS '
+
+ FLAG long
+
+--- 13,22 ----
SET UTF-8
TRY esiaùnñrtolcdugmphbyfvkwzESIAÙNÑRTOLCDUGMPHBYFVKWZ'
+ MIDWORD '
+
- PFX m Y 1
- PFX m 0 m' [aehiouy]
+ # Permet à l'utilitaire en ligne de commande hunspell de fonctionner avec les mots contenant des quotes (lec'hienn, ...)
+! WORDCHARS '-
+
+ FLAG long
diff --git a/runtime/spell/br/main.aap b/runtime/spell/br/main.aap
index 1ca5935a6f..255dac7b53 100644
--- a/runtime/spell/br/main.aap
+++ b/runtime/spell/br/main.aap
@@ -25,16 +25,16 @@ $SPELLDIR/br.utf-8.spl : $FILES
#
# Fetching the files from OpenOffice.org.
#
-OODIR = http://extensions.services.openoffice.org/e-files/2207/3
-:attr {fetch = $OODIR/%file%} dict-br_0.3.oxt
+OODIR = http://extensions.services.openoffice.org/e-files/2207/6
+:attr {fetch = $OODIR/%file%} dict-br_0.8.oxt
# The files don't depend on the .zip file so that we can delete it.
# Only download the zip file if the targets don't exist.
br_FR.aff br_FR.dic: {buildcheck=}
:assertpkg unzip patch
- :fetch dict-br_0.3.oxt
- :sys $UNZIP dict-br_0.3.oxt
- :delete dict-br_0.3.oxt
+ :fetch dict-br_0.8.oxt
+ :sys $UNZIP dict-br_0.8.oxt
+ :delete dict-br_0.8.oxt
:copy dictionaries/br_FR.aff br_FR.aff
:copy dictionaries/br_FR.dic br_FR.dic
# The br_FR.aff file contains a BOM, remove it.
@@ -65,12 +65,12 @@ diff:
check:
:assertpkg unzip diff
- :fetch dict-br_0.3.oxt
+ :fetch dict-br_0.8.oxt
:mkdir tmp
:cd tmp
@try:
@import stat
- :sys $UNZIP ../dict-br_0.3.oxt
+ :sys $UNZIP ../dict-br_0.8.oxt
:sys {force} diff ../dictionaries/br_FR.aff br_FR.aff >d
@if os.stat('d')[stat.ST_SIZE] > 0:
:copy br_FR.aff ../br_FR.new.aff
@@ -80,7 +80,7 @@ check:
@finally:
:cd ..
:delete {r}{f}{q} tmp
- :delete dict-br_0.3.oxt
+ :delete dict-br_0.8.oxt
# vim: set sts=4 sw=4 :
diff --git a/runtime/syntax/cfg.vim b/runtime/syntax/cf