summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-23 12:07:04 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-23 12:07:04 +0000
commit6f4754b9f7253d7e4ba527064a24aff1acdb1e8f (patch)
tree2ee504882bd13acef481efb94164afba33a96202
parentbcfa11b7dfdfbb4d412dd843a6da3fce68ba2e39 (diff)
Update runtime files
-rw-r--r--runtime/doc/autocmd.txt4
-rw-r--r--runtime/doc/builtin.txt9
-rw-r--r--runtime/doc/diff.txt18
-rw-r--r--runtime/doc/editing.txt6
-rw-r--r--runtime/doc/eval.txt60
-rw-r--r--runtime/doc/filetype.txt9
-rw-r--r--runtime/doc/fold.txt7
-rw-r--r--runtime/doc/map.txt6
-rw-r--r--runtime/doc/mbyte.txt2
-rw-r--r--runtime/doc/message.txt461
-rw-r--r--runtime/doc/options.txt31
-rw-r--r--runtime/doc/repeat.txt8
-rw-r--r--runtime/doc/starting.txt6
-rw-r--r--runtime/doc/syntax.txt6
-rw-r--r--runtime/doc/tags81
-rw-r--r--runtime/doc/terminal.txt4
-rw-r--r--runtime/doc/testing.txt4
-rw-r--r--runtime/doc/todo.txt26
-rw-r--r--runtime/doc/vim.12
-rw-r--r--runtime/doc/vim.man2
-rw-r--r--runtime/doc/vim9.txt83
-rw-r--r--runtime/doc/visual.txt2
-rw-r--r--runtime/filetype.vim2
-rw-r--r--runtime/gvim.desktop5
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim3
-rw-r--r--runtime/syntax/rc.vim21
-rw-r--r--runtime/syntax/scala.vim110
-rw-r--r--runtime/vim.desktop5
-rw-r--r--src/po/de.po6027
-rw-r--r--src/po/fi.po9900
-rw-r--r--src/po/gvim.desktop.in1
-rw-r--r--src/po/sr.po6818
-rw-r--r--src/po/vim.desktop.in1
33 files changed, 13556 insertions, 10174 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 96a0e4b00b..37b4a3d9cc 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 8.2. Last change: 2022 Jan 15
+*autocmd.txt* For Vim version 8.2. Last change: 2022 Jan 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1211,7 +1211,7 @@ TextYankPost After text has been yanked or deleted in the
Not triggered when |quote_| is used nor when
called recursively.
It is not allowed to change the buffer text,
- see |textlock|.
+ see |textlock|. *E1064*
{only when compiled with the +eval feature}
*User*
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 403f592fce..7bb48b8c3d 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt* For Vim version 8.2. Last change: 2022 Jan 16
+*builtin.txt* For Vim version 8.2. Last change: 2022 Jan 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2882,7 +2882,7 @@ get({dict}, {key} [, {default}])
Preferably used as a |method|: >
mydict->get(key)
get({func}, {what})
- Get an item with from Funcref {func}. Possible values for
+ Get item {what} from Funcref {func}. Possible values for
{what} are:
"name" The function name
"func" The function
@@ -6396,8 +6396,8 @@ readdir({directory} [, {expr} [, {dict}]]) *readdir()*
readdir(dirname, {n -> n =~ '.txt$'})
< To skip hidden and backup files: >
readdir(dirname, {n -> n !~ '^\.\|\~$'})
-
-< The optional {dict} argument allows for further custom
+< *E857*
+ The optional {dict} argument allows for further custom
values. Currently this is used to specify if and how sorting
should be performed. The dict can have the following members:
@@ -9498,7 +9498,6 @@ win_execute({id}, {command} [, {silent}]) *win_execute()*
call win_execute(winid, 'set syntax=python')
< Doing the same with `setwinvar()` would not trigger
autocommands and not actually show syntax highlighting.
-
*E994*
Not all commands are allowed in popup windows.
When window {id} does not exist then no error is given and
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index e3d8f53c46..d72f37ea4f 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 8.2. Last change: 2021 May 24
+*diff.txt* For Vim version 8.2. Last change: 2022 Jan 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -335,8 +335,9 @@ After setting this variable, reload the syntax script: >
FINDING THE DIFFERENCES *diff-diffexpr*
-The 'diffexpr' option can be set to use something else than the standard
-"diff" program to compare two files and find the differences. *E959*
+The 'diffexpr' option can be set to use something else than the internal diff
+support or the standard "diff" program to compare two files and find the
+differences. *E959*
When 'diffexpr' is empty, Vim uses this command to find the differences
between file1 and file2: >
@@ -369,7 +370,7 @@ format mentioned. These variables are set to the file names used:
v:fname_in original file
v:fname_new new version of the same file
- v:fname_out resulting diff file
+ v:fname_out where to write the resulting diff file
Additionally, 'diffexpr' should take care of "icase" and "iwhite" in the
'diffopt' option. 'diffexpr' cannot change the value of 'lines' and
@@ -402,7 +403,9 @@ If the 'diffexpr' expression starts with s: or |<SID>|, then it is replaced
with the script ID (|local-function|). Example: >
set diffexpr=s:MyDiffExpr()
set diffexpr=<SID>SomeDiffExpr()
-<
+Otherwise, the expression is evaluated in the context of the script where the
+option was set, thus script-local items are available.
+
*E810* *E97*
Vim will do a test if the diff output looks alright. If it doesn't, you will
get an error message. Possible causes:
@@ -458,5 +461,8 @@ If the 'patchexpr' expression starts with s: or |<SID>|, then it is replaced
with the script ID (|local-function|). Example: >
set patchexpr=s:MyPatchExpr()
set patchexpr=<SID>SomePatchExpr()
-<
+Otherwise, the expression is evaluated in the context of the script where the
+option was set, thus script-local items are available.
+
+
vim:tw=78:ts=8:noet:ft=help:norl:
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 4f217fddd0..00deef1765 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 8.2. Last change: 2022 Jan 11
+*editing.txt* For Vim version 8.2. Last change: 2022 Jan 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -433,7 +433,7 @@ This also works for most other systems, with the restriction that the
backticks must be around the whole item. It is not possible to have text
directly before the first or just after the last backtick.
- *`=*
+ *`=* *E1083*
You can have the backticks expanded as a Vim expression, instead of as an
external command, by putting an equal sign right after the first backtick,
e.g.: >
@@ -890,7 +890,7 @@ Note: When the 'write' option is off, you are not able to write any file.
*:w* *:write*
*E502* *E503* *E504* *E505*
- *E512* *E514* *E667* *E796* *E949*
+ *E512* *E514* *E667* *E949*
:w[rite] [++opt] Write the whole buffer to the current file. This is
the normal way to save changes to a file. It fails
when the 'readonly' option is set or when there is
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 974f231ca8..a204735ec0 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,11 +1,11 @@
-*eval.txt* For Vim version 8.2. Last change: 2022 Jan 08
+*eval.txt* For Vim version 8.2. Last change: 2022 Jan 21
VIM REFERENCE MANUAL by Bram Moolenaar
Expression evaluation *expression* *expr* *E15* *eval*
-
+ *E1002*
Using expressions is introduced in chapter 41 of the user manual |usr_41.txt|.
Note: Expression evaluation can be disabled at compile time. If this has been
@@ -53,7 +53,7 @@ Number A 32 or 64 bit signed number. |expr-number|
Examples: -123 0x10 0177 0o177 0b1011
Float A floating point number. |floating-point-format| *Float*
- {only when compiled with the |+float| feature}
+ {only when compiled with the |+float| feature} *E1076*
Examples: 123.456 1.15e-6 -1.1e3
String A NUL terminated string of 8-bit unsigned characters (bytes).
@@ -1030,7 +1030,7 @@ is |true| or |false|.
*expr-==?* *expr-!=?* *expr->?* *expr->=?*
*expr-<?* *expr-<=?* *expr-=~?* *expr-!~?*
*expr-is* *expr-isnot* *expr-is#* *expr-isnot#*
- *expr-is?* *expr-isnot?*
+ *expr-is?* *expr-isnot?* *E1072*
use 'ignorecase' match case ignore case ~
equal == ==# ==?
not equal != !=# !=?
@@ -1071,7 +1071,7 @@ To compare Funcrefs to see if they refer to the same function, ignoring bound
Dictionary and arguments, use |get()| to get the function name: >
if get(Part1, 'name') == get(Part2, 'name')
" Part1 and Part2 refer to the same function
-
+< *E1037*
Using "is" or "isnot" with a |List|, |Dictionary| or |Blob| checks whether
the expressions are referring to the same |List|, |Dictionary| or |Blob|
instance. A copy of a |List| is different from the original |List|. When
@@ -1123,7 +1123,7 @@ can be matched like an ordinary character. Examples:
"foo\nbar" =~ "\\n" evaluates to 0
-expr5 and expr6 *expr5* *expr6*
+expr5 and expr6 *expr5* *expr6* *E1036* *E1051*
---------------
expr6 + expr6 Number addition, |List| or |Blob| concatenation *expr-+*
expr6 - expr6 Number subtraction *expr--*
@@ -1182,7 +1182,7 @@ When the righthand side of '%' is zero, the result is 0.
None of these work for |Funcref|s.
-".", ".." and "%" do not work for Float. *E804*
+".", ".." and "%" do not work for Float. *E804* *E1035*
expr7 *expr7*
@@ -1229,7 +1229,7 @@ in any order. E.g., these are all possible:
Evaluation is always from left to right.
expr9[expr1] item of String or |List| *expr-[]* *E111*
- *E909* *subscript*
+ *E909* *subscript* *E1062*
In legacy Vim script:
If expr9 is a Number or String this results in a String that contains the
expr1'th single byte from expr9. expr9 is used as a String (a number is
@@ -1364,7 +1364,16 @@ Is equivalent to: >
(-1.234)->string()
And NOT: >
-(1.234->string())
-<
+
+What comes after "->" can be a name, a simple expression (not containing any
+parenthesis), or any expression in parenthesis: >
+ base->name(args)
+ base->some.name(args)
+ base->alist[idx](args)
+ base->(getFuncRef())(args)
+Note that in the last call the base is passed to the function resulting from
+"(getFuncRef())", inserted before "args".
+
*E274*
"->name(" must not contain white space. There can be white space before the
"->" and after the "(", thus you can split the lines like this: >
@@ -1568,7 +1577,7 @@ The first one probably doesn't echo anything, the second echoes the $shell
variable (if your shell supports it).
-internal variable *expr-variable*
+internal variable *expr-variable* *E1015*
-----------------
variable internal variable
See below |internal-variables|.
@@ -1656,7 +1665,7 @@ for a lambda expression, you can find what it is with the following command: >
See also: |numbered-function|
==============================================================================
-3. Internal variable *internal-variables* *E461*
+3. Internal variable *internal-variables* *E461* *E1001*
An internal variable name can be made up of letters, digits and '_'. But it
cannot start with a digit. In legacy script it is also possible to use curly
@@ -1814,7 +1823,7 @@ variables for each buffer. Use local buffer variables instead |b:var|.
PREDEFINED VIM VARIABLES *vim-variable* *v:var* *v:*
- *E963*
+ *E963* *E1063*
Some variables can be set by the user, but the type cannot be changed.
*v:argv* *argv-variable*
@@ -2830,7 +2839,7 @@ This function can then be called with: >
: echo div
:endif
<
- *:cal* *:call* *E107* *E117*
+ *:cal* *:call* *E107*
:[range]cal[l] {name}([arguments])
Call a function. The name of the function and its arguments
are as specified with `:function`. Up to 20 arguments can be
@@ -2874,6 +2883,12 @@ This function can then be called with: >
:4,8call GetDict().method()
< Here GetDict() gets the range but method() does not.
+ *E117*
+When a function cannot be found the error "E117: Unknown function" will be
+given. If the function was using an autoload path or an autoload import and
+the script is a |Vim9| script, this may also be caused by the function not
+being exported.
+
*E132*
The recursiveness of user functions is restricted with the |'maxfuncdepth'|
option.
@@ -2973,6 +2988,9 @@ Also note that if you have two script files, and one calls a function in the
other and vice versa, before the used function is defined, it won't work.
Avoid using the autoload functionality at the toplevel.
+In |Vim9| script you will get error *E1263* if you use a function name with a
+"#" character when not in an autoload script.
+
Hint: If you distribute a bunch of scripts you can pack them together with the
|vimball| utility. Also read the user manual |distribute-script|.
@@ -3059,8 +3077,8 @@ declarations and assignments do not use a command. |vim9-declaration|
When the selected range of items is partly past the
end of the list, items will be added.
- *:let+=* *:let-=* *:letstar=*
- *:let/=* *:let%=* *:let.=* *:let..=* *E734* *E985*
+ *:let+=* *:let-=* *:letstar=* *:let/=* *:let%=*
+ *:let.=* *:let..=* *E734* *E985* *E1019*
:let {var} += {expr1} Like ":let {var} = {var} + {expr1}".
:let {var} -= {expr1} Like ":let {var} = {var} - {expr1}".
:let {var} *= {expr1} Like ":let {var} = {var} * {expr1}".
@@ -3263,7 +3281,7 @@ text...
* Funcref
This does not work in Vim9 script. |vim9-declaration|
-:unl[et][!] {name} ... *:unlet* *:unl* *E108* *E795*
+:unl[et][!] {name} ... *:unlet* *:unl* *E108* *E795* *E1081*
Remove the internal variable {name}. Several variable
names can be given, they are all removed. The name
may also be a |List| or |Dictionary| item.
@@ -3289,7 +3307,7 @@ text...
If the system does not support deleting an environment
variable, it is made empty.
- *:cons* *:const*
+ *:cons* *:const* *E1018*
:cons[t] {var-name} = {expr1}
:cons[t] [{name1}, {name2}, ...] = {expr1}
:cons[t] [{name}, ..., ; {lastname}] = {expr1}
@@ -3509,7 +3527,8 @@ text...
all nested ":try"s inside the loop. The outermost
":endtry" then jumps to the command after the loop.
-:try *:try* *:endt* *:endtry* *E600* *E601* *E602*
+:try *:try* *:endt* *:endtry*
+ *E600* *E601* *E602* *E1032*
:endt[ry] Change the error handling for the commands between
":try" and ":endtry" including everything being
executed across ":source" commands, function calls,
@@ -3545,7 +3564,8 @@ text...
try | sleep 100 | catch /^Vim:Interrupt$/ | endtry
try | edit | catch /^Vim(edit):E\d\+/ | echo "error" | endtry
<
- *:cat* *:catch* *E603* *E604* *E605*
+ *:cat* *:catch*
+ *E603* *E604* *E605* *E654* *E1033*
:cat[ch] /{pattern}/ The following commands until the next |:catch|,
|:finally|, or |:endtry| that belongs to the same
|:try| as the ":catch" are executed when an exception
@@ -3566,7 +3586,7 @@ text...
Another character can be used instead of / around the
{pattern}, so long as it does not have a special
meaning (e.g., '|' or '"') and doesn't occur inside
- {pattern}.
+ {pattern}. *E1067*
Information about the exception is available in
|v:exception|. Also see |throw-variables|.
NOTE: It is not reliable to ":catch" the TEXT of
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 6842e1de55..9a614e21e9 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 8.2. Last change: 2021 Dec 30
+*filetype.txt* For Vim version 8.2. Last change: 2022 Jan 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -133,14 +133,15 @@ shell script: "#!/bin/csh".
argument was used.
*filetype-overrule*
-When the same extension is used for two filetypes, Vim tries to guess what
-kind of file it is. This doesn't always work. A number of global variables
-can be used to overrule the filetype used for certain extensions:
+When the same extension is used for multiple filetypes, Vim tries to guess
+what kind of file it is. This doesn't always work. A number of global
+variables can be used to overrule the filetype used for certain extensions:
file name variable ~
*.asa g:filetype_asa |ft-aspvbs-syntax| |ft-aspperl-syntax|
*.asm g:asmsyntax |ft-asm-syntax|
*.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax|
+ *.bas g:filetype_bas |ft-basic-syntax|
*.fs g:filetype_fs |ft-forth-syntax|
*.i g:filetype_i |ft-progress-syntax|
*.inc g:filetype_inc
diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt
index 9fd7f968c6..5bcadda654 100644
--- a/runtime/doc/fold.txt
+++ b/runtime/doc/fold.txt
@@ -1,4 +1,4 @@
-*fold.txt* For Vim version 8.2. Last change: 2021 Jul 13
+*fold.txt* For Vim version 8.2. Last change: 2022 Jan 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -511,7 +511,10 @@ Note the use of backslashes to avoid some characters to be interpreted by the
:endfunction
Evaluating 'foldtext' is done in the |sandbox|. The current window is set to
-the window that displays the line. Errors are ignored.
+the window that displays the line. The context is set to the script where the
+option was last set.
+
+Errors are ignored. For debugging set the 'debug' option to "throw".
The default value is |foldtext()|. This returns a reasonable text for most
types of folding. If you don't like it, you can specify your own 'foldtext'
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 2727a4ccde..0135c6d511 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 8.2. Last change: 2022 Jan 15
+*map.txt* For Vim version 8.2. Last change: 2022 Jan 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1411,7 +1411,7 @@ scripts.
*:command-verbose*
When 'verbose' is non-zero, listing a command will also display where it was
-last defined. Example: >
+last defined and any completion argument. Example: >
:verbose command TOhtml
< Name Args Range Complete Definition ~
@@ -1530,6 +1530,8 @@ completion can be enabled:
-complete=custom,{func} custom completion, defined via {func}
-complete=customlist,{func} custom completion, defined via {func}
+If you specify completion while there is nothing to complete (-nargs=0, the
+default) then you get error *E1208* .
Note: That some completion methods might expand environment variables.
diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt
index e5e903ee6b..165e931204 100644
--- a/runtime/doc/mbyte.txt
+++ b/runtime/doc/mbyte.txt
@@ -1,4 +1,4 @@
-*mbyte.txt* For Vim version 8.2. Last change: 2022 Jan 08
+*mbyte.txt* For Vim version 8.2. Last change: 2022 Jan 20
VIM REFERENCE MANUAL by Bram Moolenaar et al.
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index f174884bb0..44ad8bc2f2 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 8.2. Last change: 2022 Jan 08
+*message.txt* For Vim version 8.2. Last change: 2022 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -46,13 +46,13 @@ maintains the messages or the translations. You can use this to contact the
maintainer when you spot a mistake.
If you want to find help on a specific (error) message, use the ID at the
-start of the message. For example, to get help on the message: >
+start of the message. For example, to get help on the message:
- E72: Close error on swap file
+ E72: Close error on swap file ~
-or (translated): >
+or (translated):
- E72: Errore durante chiusura swap file
+ E72: Errore durante chiusura swap file ~
Use: >
@@ -62,6 +62,8 @@ If you are lazy, it also works without the shift key: >
:help e72
+The number in this ID has no meaning.
+
==============================================================================
2. Error messages *error-messages* *errors*
@@ -76,117 +78,117 @@ See `:messages` above.
LIST OF MESSAGES
*E222* *E228* *E232* *E293* *E298* *E304* *E317*
*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
- *E323* *E341* *E473* *E570* *E685* *E292* >
- Add to read buffer
- makemap: Illegal mode
- Cannot create BalloonEval with both message and callback
- Hangul automata ERROR
- block was not locked
- Didn't get block nr {N}?
- ml_upd_block0(): Didn't get block 0??
- pointer block id wrong {N}
- Updated too many blocks?
- get_varp ERROR
- u_undo: line numbers wrong
- undo list corrupt
- undo line missing
- ml_get: cannot find line {N}
- cannot find line {N}
- line number out of range: {N} past the end
- line count wrong in block {N}
- Internal error
- Internal error: {function}
- fatal error in cs_manage_matches
- Invalid count for del_bytes(): {N}
+ *E323* *E341* *E473* *E570* *E685* *E292*
+ Add to read buffer ~
+ makemap: Illegal mode ~
+ Cannot create BalloonEval with both message and callback ~
+ Hangul automata ERROR ~
+ block was not locked ~
+ Didn't get block nr {N}? ~
+ ml_upd_block0(): Didn't get block 0?? ~
+ pointer block id wrong {N} ~
+ Updated too many blocks? ~
+ get_varp ERROR ~
+ u_undo: line numbers wrong ~
+ undo list corrupt ~
+ undo line missing ~
+ ml_get: cannot find line {N} ~
+ cannot find line {N} ~
+ line number out of range: {N} past the end ~
+ line count wrong in block {N} ~
+ Internal error ~
+ Internal error: {function} ~
+ fatal error in cs_manage_matches ~
+ Invalid count for del_bytes(): {N} ~
This is an internal error. If you can reproduce it, please send in a bug
report. |bugs|
->
- ATTENTION
- Found a swap file by the name ...
+
+ ATTENTION ~
+ Found a swap file by the name ... ~
See |ATTENTION|.
- *E92* >
- Buffer {N} not found
+ *E92*
+ Buffer {N} not found ~
The buffer you requested does not exist. This can also happen when you have
wiped out a buffer which contains a mark or is referenced in another way.
|:bwipeout|
- *E95* >
- Buffer with this name already exists
+ *E95*
+ Buffer with this name already exists ~
You cannot have two buffers with exactly the same name. This includes the
path leading to the file.
- *E72* >
- Close error on swap file
+ *E72*
+ Close error on swap file ~
The |swap-file|, that is used to keep a copy of the edited text, could not be
closed properly. Mostly harmless.
- *E169* >
- Command too recursive
+ *E169*
+ Command too recursive ~
This happens when an Ex command executes an Ex command that executes an Ex
command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is
larger. When it's more there probably is an endless loop. Probably a
|:execute| or |:source| command is involved.
- *E254* >
- Cannot allocate color {name}
+ *E254*
+ Cannot allocate color {name} ~
The color name {name} is unknown. See |gui-colors| for a list of colors that
are available on most systems.
- *E1244* >
- Bad color string: {str}
+ *E1244*
+ Bad color string: {str} ~
The provided color did not conform to the pattern #rrggbb
- *E458* >
- Cannot allocate colormap entry, some colors may be incorrect
+ *E458*
+ Cannot allocate colormap entry, some colors may be incorrect ~
This means that there are not enough colors available for Vim. It will still
run, but some of the colors will not appear in the specified color. Try
stopping other applications that use many colors, or start them after starting
gvim.
Browsers are known to consume a lot of colors. You can avoid this with
-netscape by telling it to use its own colormap: >
- netscape -install
-Or tell it to limit to a certain number of colors (64 should work well): >
- netscape -ncols 64
-This can also be done with a line in your Xdefaults file: >
- Netscape*installColormap: Yes
-or >
- Netscape*maxImageColors: 64
-<
- *E79* >
- Cannot expand wildcards
+netscape by telling it to use its own colormap:
+ netscape -install ~
+Or tell it to limit to a certain number of colors (64 should work well):
+ netscape -ncols 64 ~
+This can also be done with a line in your Xdefaults file:
+ Netscape*installColormap: Yes ~
+or
+ Netscape*maxImageColors: 64 ~
+
+ *E79*
+ Cannot expand wildcards ~
A filename contains a strange combination of characters, which causes Vim to
attempt expanding wildcards but this fails. This does NOT mean that no
matching file names could be found, but that the pattern was illegal.
- *E459* >
- Cannot go back to previous directory
+ *E459*
+ Cannot go back to previous directory ~
While expanding a file name, Vim failed to go back to the previously used
directory. All file names being used may be invalid now! You need to have
execute permission on the current directory.
- *E190* *E212* >
- Cannot open "{filename}" for writing
- Can't open file for writing
+ *E190* *E212*
+ Cannot open "{filename}" for writing ~
+ Can't open file for writing ~
For some reason the file you are writing to cannot be created or overwritten.
The reason could be that you do not have permission to write in the directory
or the file name is not valid.
- *E166* >
- Can't open linked file for writing
+ *E166*
+ Can't open linked file for writing ~
You are trying to write to a file which can't be overwritten, and the file is
a link (either a hard link or a symbolic link). Writing might still be
@@ -197,20 +199,20 @@ place. If you really want to write the file under this name, you have to
manually delete the link or the file, or change the permissions so that Vim
can overwrite.
- *E46* >
- Cannot change read-only variable "{name}"
+ *E46*
+ Cannot change read-only variable "{name}" ~
You are trying to assign a value to an argument of a function |a:var| or a Vim
internal variable |v:var| which is read-only.
- *E90* >
- Cannot unload last buffer
+ *E90*
+ Cannot unload last buffer ~
Vim always requires one buffer to be loaded, otherwise there would be nothing
to display in the window.
- *E40* >
- Can't open errorfile <filename>
+ *E40*
+ Can't open errorfile <filename> ~
When using the ":make" or ":grep" commands: The file used to save the error
messages or grep output cannot be opened. This can have several causes:
@@ -222,8 +224,8 @@ messages or grep output cannot be opened. This can have several causes:
- The 'grepprg' or 'makeprg' could not be executed. This cannot always be
detected (especially on MS-Windows). Check your $PATH.
- >
- Can't open file C:\TEMP\VIoD243.TMP
+
+ Can't open file C:\TEMP\VIoD243.TMP ~
On MS-Windows, this message appears when the output of an external command was
to be read, but the command didn't run successfully. This can be caused by
@@ -231,21 +233,21 @@ many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and
related options. It might also be that the external command was not found,
there is no different error message for that.
- *E12* >
- Command not allowed from exrc/vimrc in current dir or tag search
+ *E12*
+ Command not allowed from exrc/vimrc in current dir or tag search ~
Some commands are not allowed for security reasons. These commands mostly
come from a .exrc or .vimrc file in the current directory, or from a tags
file. Also see 'secure'.
- *E74* >
- Command too complex
+ *E74*
+ Command too complex ~
A mapping resulted in a very long command string. Could be caused by a
mapping that indirectly calls itself.
->
- CONVERSION ERROR
+
+ CONVERSION ERROR ~
When writing a file and the text "CONVERSION ERROR" appears, this means that
some bits were lost when converting text from the internally used UTF-8 to the
@@ -257,51 +259,51 @@ If there is a backup file, when 'writebackup' or 'backup' is set, it will not
be deleted, so you can move it back into place if you want to discard the
changes.
- *E302* >
- Could not rename swap file
+ *E302*
+ Could not rename swap file ~
When the file name changes, Vim tries to rename the |swap-file| as well.
This failed and the old swap file is now still used. Mostly harmless.
- *E43* *E44* >
- Damaged match string
- Corrupted regexp program
+ *E43* *E44*
+ Damaged match string ~
+ Corrupted regexp program ~
Something inside Vim went wrong and resulted in a corrupted regexp. If you
know how to reproduce this problem, please report it. |bugs|
- *E208* *E209* *E210* >
- Error writing to "{filename}"
- Error closing "{filename}"
- Error reading "{filename}"
+ *E208* *E209* *E210*
+ Error writing to "{filename}" ~
+ Error closing "{filename}" ~
+ Error reading "{filename}" ~
This occurs when Vim is trying to rename a file, but a simple change of file
name doesn't work. Then the file will be copied, but somehow this failed.
The result may be that both the original file and the destination file exist
and the destination file may be incomplete.
->
- Vim: Error reading input, exiting...
+