summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-04 00:57:42 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-04 00:57:42 +0000
commit986920760e65384efdbe7158231849ab422ddae3 (patch)
treefa45fb5e4db9f1545e8db12a4c46be7f822f415b /runtime/doc
parent49315f65c985a72c2aac55b883f5ef1195c53ddc (diff)
downloadvim-986920760e65384efdbe7158231849ab422ddae3.zip
updated for version 7.0192
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt28
-rw-r--r--runtime/doc/options.txt6
2 files changed, 19 insertions, 15 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b8539f434..021c7fa3f 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2006 Jan 31
+*eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1894,8 +1894,8 @@ char2nr({expr}) *char2nr()*
char2nr(" ") returns 32
char2nr("ABC") returns 65
< The current 'encoding' is used. Example for "utf-8": >
- char2nr("á") returns 225
- char2nr("á"[0]) returns 195
+ char2nr("?") returns 225
+ char2nr("?"[0]) returns 195
< nr2char() does the opposite.
cindent({lnum}) *cindent()*
@@ -3478,7 +3478,8 @@ printf({fmt}, {expr1} ...) *printf()*
Often used items are:
%s string
- %6s string right-aligned in 6 characters
+ %6s string right-aligned in 6 bytes
+ %.9s string truncated to 9 bytes
%c single byte
%d decimal number
%5d decimal number padded with spaces to 5 characters
@@ -3486,7 +3487,7 @@ printf({fmt}, {expr1} ...) *printf()*
%04x hex number padded with zeros to at least 4 characters
%X hex number using upper case letters
%o octal number
- %% the % character
+ %% the % character itself
Conversion specifications start with '%' and end with the
conversion type. All other characters are copied unchanged to
@@ -3532,11 +3533,10 @@ printf({fmt}, {expr1} ...) *printf()*
field-width
An optional decimal digit string specifying a minimum
- field width. If the converted value has fewer
- characters than the field width, it will be padded
- with spaces on the left (or right, if the
- left-adjustment flag has been given) to fill out the
- field width.
+ field width. If the converted value has fewer bytes
+ than the field width, it will be padded with spaces on
+ the left (or right, if the left-adjustment flag has
+ been given) to fill out the field width.
.precision
An optional precision, in the form of a period '.'
@@ -3544,8 +3544,7 @@ printf({fmt}, {expr1} ...) *printf()*
string is omitted, the precision is taken as zero.
This gives the minimum number of digits to appear for
d, o, x, and X conversions, or the maximum number of
- characters to be printed from a string for s
- conversions.
+ bytes to be printed from a string for s conversions.
type
A character that specifies the type of conversion to
@@ -4906,14 +4905,15 @@ See |:verbose-cmd| for more information.
When the [abort] argument is added, the function will
abort as soon as an error is detected.
- The last used search pattern and the redo command "."
- will not be changed by the function.
When the [dict] argument is added, the function must
be invoked through an entry in a Dictionary. The
local variable "self" will then be set to the
dictionary. See |Dictionary-function|.
+ The last used search pattern and the redo command "."
+ will not be changed by the function.
+
*:endf* *:endfunction* *E126* *E193*
:endf[unction] The end of a function definition. Must be on a line
by its own, without other commands.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 8f0e39088..9bd366026 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2006 Jan 31
+*options.txt* For Vim version 7.0aa. Last change: 2006 Feb 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5835,6 +5835,10 @@ A jump table for the options with a short description can be found at |Q_op|.
files twice.
How the related spell files are found is explained here: |spell-load|.
+ If the |spellfile.vim| plugin is active and you use a language name
+ for which Vim cannot find the .spl file in 'runtimepath' the plugin
+ will ask you if you want to download the file.
+
After this option has been set successfully, Vim will source the files
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
up to the first comma, dot or underscore.