-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Bram,
here are a few fixes of typos in the English documenation:
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
- --- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3314,7 +3314,7 @@ getchar([expr])
*getchar()*
: endwhile
:endfunction
<
- - You may also receive syntetic characters, such as
+ You may also receive synthetic characters, such as
|<CursorHold>|. Often you will want to ignore this and get
another character: >
:function GetKey()
@@ -4828,7 +4828,7 @@ py3eval({expr})
*py3eval()*
Evaluate Python expression {expr} and return its result
converted to Vim data structures.
Numbers and strings are returned as they are (strings are
- - copied though, unicode strings are additionally converted to
+ copied though, Unicode strings are additionally converted to
'encoding').
Lists are represented as Vim |List| type.
Dictionaries are represented as Vim |Dictionary| type with
@@ -5567,7 +5567,7 @@ setwinvar({nr}, {varname}, {val}) *set
:call setwinvar(2, "myvar", "foobar")
sha256({string}) *sha256()*
- - Returns a String with 64 hex charactes, which is the SHA256
+ Returns a String with 64 hex characters, which is the SHA256
checksum of {string}.
{only available when compiled with the |+cryptv| feature}
@@ -8280,7 +8280,7 @@ You can catch all Vim errors by the patt
*catch-text*
NOTE: You should never catch the error message text itself: >
:catch /No such variable/
- -only works in the english locale, but not when the user has selected
+only works in the English locale, but not when the user has selected
a different language by the |:language| command. It is however helpful to
cite the message text in a comment: >
:catch /^Vim(\a\+):E108:/ " No such variable
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
- --- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1242,7 +1242,7 @@ Contains the most recent search-pattern.
It is writable with `:let`, you can change it to have 'hlsearch' highlight
other matches without actually searching. You can't yank or delete into this
register. The search direction is available in |v:searchforward|.
- -Note that the valued is restored when returning from a function
+Note that the value is restored when returning from a function
|function-search-undo|.
{not in Vi}
@@ -1457,10 +1457,10 @@ When you hit Return in a C-comment, Vim
for the new line: " * ". To close this comment you just have to type "/"
before typing anything else on the new line. This will replace the
middle-comment leader with the end-comment leader and apply any specified
- -alignment, leaving just " */". There is no need to hit BackSpace first.
+alignment, leaving just " */". There is no need to hit Backspace first.
- -When there is a match with a middle part, but there also is a maching end
part
- -which is longer, the end part is used. This makes a C style comment work
+When there is a match with a middle part, but there also is a matching end
+part which is longer, the end part is used. This makes a C style comment work
without requiring the middle part to end with a space.
Here is an example of alignment flags at work to make a comment stand out
Under :help modeline-version, the example is wrong (570 should be 507, "and
later" is wrong for vim600); I've updated that to more current versions,
inverted the example vim<570 to vim>702 (as it's more common to guard newer
option values with it), and used and option there that makes some sense.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
- --- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -536,11 +536,11 @@ number can be specified where "vim:" or
vim<{vers}: version before {vers}
vim={vers}: version {vers}
vim>{vers}: version after {vers}
- -{vers} is 600 for Vim 6.0 (hundred times the major version plus minor).
- -For example, to use a modeline only for Vim 6.0 and later:
- - /* vim600: set foldmethod=marker: */ ~
- -To use a modeline for Vim before version 5.7:
- - /* vim<570: set sw=4: */ ~
+{vers} is 700 for Vim 7.0 (hundred times the major version plus minor).
+For example, to use a modeline only for Vim 7.0:
+ /* vim700: set foldmethod=marker */ ~
+To use a modeline for Vim after version 7.2:
+ /* vim>702: set cole=2: */ ~
There can be no blanks between "vim" and the ":".
Finally, I noticed that the implemented strchars() function is still referenced
in the todo list:
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
- --- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -2108,8 +2108,6 @@ 8 Add functions:
Search in 'runtimepath'?
More docs needed about how to use this.
How to get the messages into the .po files?
- - strchars() Like strlen() and strwidth() but counting
characters
- - instead of bytes.
confirm() add "flags" argument, with 'v' for vertical
layout and 'c' for console dialog. (Haegg)
Flemming Madsen has a patch for the 'c' flag
- -- regards, ingo
- --
-- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --
-- http://vim.sourceforge.net/account/profile.php?user_id=9713 --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJU2OE6AAoJEA7ziXlAzQ/vIK0IAIS1j4+TCrpRzqIDJMPTJHis
yYRf2d2aOg+r4HkdxnSb4eLWUUz3ats5yC8NuNGsTmsqwj4IHnrL3kBg3airyJtk
fZyzO+4znuN96VEdNzRDTlbjvE8MxPqPB6gx/JfwHVSBUnQuD3LuK6I82u2hchis
rbqjVRZk7/VwBPRvcdQhTR8cE+eq+7T0Kh6CZp52FhgkCr2j5euVxrtqt2sYYbWh
B18zOVpEQ0WX0L1Rh/ZVXRc3scFNi7YzzK+T/PYXcF7Trzq9UusOVJSGYLOtcNeB
aiKYYDkpGB0X8NOB54wfqtweiYCl2xYhEc0YPWiVKEpwz8f6R9mXdErhtAqT4YA=
=WCv2
-----END PGP SIGNATURE-----
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.