robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
3b00ddb601
master
1*message.txt* Nvim 2 3 4 VIM REFERENCE MANUAL by Bram Moolenaar 5 6 7This file contains an alphabetical list of messages and error messages that 8Vim produces. You can use this if you don't understand what the message 9means. It is not complete though. 10 11 Type |gO| to see the table of contents. 12 13============================================================================== 14Messages history *:messages* *:mes* *message-history* 15 16The ":messages" command can be used to view previously given messages. This 17is especially useful when messages have been overwritten or truncated. This 18depends on the 'shortmess' option. 19 20 :mes[sages] Show all messages. 21 22 :{count}mes[sages] Show the {count} most recent messages. 23 24 :mes[sages] clear Clear all messages. 25 26 :{count}mes[sages] clear 27 Clear messages, keeping only the {count} most 28 recent ones. 29 30The number of remembered messages is determined by the 'messagesopt' option. 31 32 *g<* 33The "g<" command shows the last page of previous command output. 34This only works when 'more' is set. 35With |ui2|: "g<" shows recent messages in the |pager|. 36 37If you want to find help on a specific (error) message, use the ID at the 38start of the message. For example, to get help on the message: > 39 40 E72: Close error on swap file 41 42or (translated): > 43 44 E72: Errore durante chiusura swap file 45 46Use: > 47 48 :help E72 49 50If you are lazy, it also works without the shift key: > 51 52 :help e72 53 54============================================================================== 55Error messages *error-messages* *errors* 56 57When an error message is displayed, but it is removed before you could read 58it, you can see it again with: > 59 :echo v:errmsg 60Or view a list of recent messages with: > 61 :messages 62See `:messages` above. 63 64LIST OF MESSAGES 65 *E222* *E228* *E232* *E293* *E298* *E304* *E317* 66 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* 67 *E323* *E341* *E473* *E570* *E685* *E292* > 68 Add to read buffer 69 makemap: Illegal mode 70 Cannot create BalloonEval with both message and callback 71 Hangul automata ERROR 72 block was not locked 73 Didn't get block nr {N}? 74 ml_upd_block0(): Didn't get block 0?? 75 pointer block id wrong {N} 76 Updated too many blocks? 77 get_varp ERROR 78 u_undo: line numbers wrong 79 undo list corrupt 80 undo line missing 81 ml_get: cannot find line {N} 82 cannot find line {N} 83 line number out of range: {N} past the end 84 line count wrong in block {N} 85 Internal error 86 Internal error: {function} 87 fatal error in cs_manage_matches 88 Invalid count for del_bytes(): {N} 89 90This is an internal error. If you can reproduce it, please send in a bug 91report. |bugs| 92 93> 94 ATTENTION 95 Found a swap file by the name ... 96 97See |ATTENTION|. 98 99 *E92* > 100 Buffer {N} not found 101 102The buffer you requested does not exist. This can also happen when you have 103wiped out a buffer which contains a mark or is referenced in another way. 104|:bwipeout| 105 106 *E95* > 107 Buffer with this name already exists 108 109You cannot have two buffers with exactly the same name. This includes the 110path leading to the file. 111 112 *E1513* > 113 Cannot switch buffer. 'winfixbuf' is enabled 114 115If a window has 'winfixbuf' enabled, you cannot change that window's current 116buffer. You need to set 'nowinfixbuf' before continuing. You may use [!] to 117force the window to switch buffers, if your command supports it. 118 119 *E72* > 120 Close error on swap file 121 122The |swap-file|, that is used to keep a copy of the edited text, could not be 123closed properly. Mostly harmless. 124 125 *E169* > 126 Command too recursive 127 128This happens when an Ex command executes an Ex command that executes an Ex 129command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is 130larger. When it's more there probably is an endless loop. Probably a 131|:execute| or |:source| command is involved. 132 133 *E254* > 134 Cannot allocate color {name} 135 136The color name {name} is unknown. See |gui-colors| for a list of colors that 137are available on most systems. 138 139 *E458* > 140 Cannot allocate colormap entry, some colors may be incorrect 141 142This means that there are not enough colors available for Vim. It will still 143run, but some of the colors will not appear in the specified color. Try 144stopping other applications that use many colors, or start them after starting 145gvim. 146Browsers are known to consume a lot of colors. You can avoid this with 147netscape by telling it to use its own colormap: > 148 netscape -install 149Or tell it to limit to a certain number of colors (64 should work well): > 150 netscape -ncols 64 151This can also be done with a line in your Xdefaults file: > 152 Netscape*installColormap: Yes 153or > 154 Netscape*maxImageColors: 64 155< 156 *E79* > 157 Cannot expand wildcards 158 159A filename contains a strange combination of characters, which causes Vim to 160attempt expanding wildcards but this fails. This does NOT mean that no 161matching file names could be found, but that the pattern was illegal. 162 163 *E459* > 164 Cannot go back to previous directory 165 166While expanding a file name, Vim failed to go back to the previously used 167directory. All file names being used may be invalid now! You need to have 168execute permission on the current directory. 169 170 *E190* *E212* > 171 Cannot open "{filename}" for writing 172 Can't open file for writing 173 174For some reason the file you are writing to cannot be created or overwritten. 175The reason could be that you do not have permission to write in the directory 176or the file name is not valid. 177 178 *E166* > 179 Can't open linked file for writing 180 181You are trying to write to a file which can't be overwritten, and the file is 182a link (either a hard link or a symbolic link). Writing might still be 183possible if the directory that contains the link or the file is writable, but 184Vim now doesn't know if you want to delete the link and write the file in its 185place, or if you want to delete the file itself and write the new file in its 186place. If you really want to write the file under this name, you have to 187manually delete the link or the file, or change the permissions so that Vim 188can overwrite. 189 190 *E46* > 191 Cannot change read-only variable "{name}" 192 193You are trying to assign a value to an argument of a function |a:var| or a Vim 194internal variable |v:var| which is read-only. 195 196 *E90* > 197 Cannot unload last buffer 198 199Vim always requires one buffer to be loaded, otherwise there would be nothing 200to display in the window. 201 202 *E40* > 203 Can't open errorfile <filename> 204 205When using the ":make" or ":grep" commands: The file used to save the error 206messages or grep output cannot be opened. This can have several causes: 207- 'shellredir' has a wrong value. 208- The shell changes directory, causing the error file to be written in another 209 directory. This could be fixed by changing 'makeef', but then the make 210 command is still executed in the wrong directory. 211- 'makeef' has a wrong value. 212- The 'grepprg' or 'makeprg' could not be executed. This cannot always be 213 detected (especially on MS-Windows). Check your $PATH. 214 215 > 216 Can't open file C:\TEMP\VIoD243.TMP 217 218On MS-Windows, this message appears when the output of an external command was 219to be read, but the command didn't run successfully. This can be caused by 220many things. Check the 'shell', 'shellquote', 'shellxquote', 'shellslash' and 221related options. It might also be that the external command was not found, 222there is no different error message for that. 223 224 *E12* > 225 Command not allowed from exrc/vimrc in current dir or tag search 226 227Some commands are not allowed for security reasons. These commands mostly 228come from a .exrc or .nvimrc file in the current directory, or from a tags 229file. Also see 'secure'. 230 231 *E74* > 232 Command too complex 233 234A mapping resulted in a very long command string. Could be caused by a 235mapping that indirectly calls itself. 236 237> 238 CONVERSION ERROR 239 240When writing a file and the text "CONVERSION ERROR" appears, this means that 241some bits were lost when converting text from the internally used UTF-8 to the 242format of the file. The file will not be marked unmodified. If you care 243about the loss of information, set the 'fileencoding' option to another value 244that can handle the characters in the buffer and write again. If you don't 245care, you can abandon the buffer or reset the 'modified' option. 246If there is a backup file, when 'writebackup' or 'backup' is set, it will not 247be deleted, so you can move it back into place if you want to discard the 248changes. 249 250 *E302* > 251 Could not rename swap file 252 253When the file name changes, Vim tries to rename the |swap-file| as well. 254This failed and the old swap file is now still used. Mostly harmless. 255 256 *E43* *E44* > 257 Damaged match string 258 Corrupted regexp program 259 260Something inside Vim went wrong and resulted in a corrupted regexp. If you 261know how to reproduce this problem, please report it. |bugs| 262 263 *E208* *E209* *E210* > 264 Error writing to "{filename}" 265 Error closing "{filename}" 266 Error reading "{filename}" 267 268This occurs when Vim is trying to rename a file, but a simple change of file 269name doesn't work. Then the file will be copied, but somehow this failed. 270The result may be that both the original file and the destination file exist 271and the destination file may be incomplete. 272 273> 274 Vim: Error reading input, exiting... 275 276This occurs when Vim cannot read typed characters while input is required. 277Vim got stuck, the only thing it can do is exit. This can happen when both 278stdin and stderr are redirected and executing a script that doesn't exit Vim. 279 280 *E47* > 281 Error while reading errorfile 282 283Reading the error file was not possible. This is NOT caused by an error 284message that was not recognized. 285 286 *E80* > 287 Error while writing 288 289Writing a file was not completed successfully. The file is probably 290incomplete. 291 292 *E13* *E189* > 293 File exists (add ! to override) 294 "{filename}" exists (add ! to override) 295 296You are protected from accidentally overwriting a file. When you want to 297write anyway, use the same command, but add a "!" just after the command. 298Example: > 299 :w /tmp/test 300changes to: > 301 :w! /tmp/test 302< 303 *E768* > 304 Swap file exists: {filename} (:silent! overrides) 305 306You are protected from overwriting a file that is being edited by Vim. This 307happens when you use ":w! filename" and a swapfile is found. 308- If the swapfile was left over from an old crashed edit session you may want 309 to delete the swapfile. Edit {filename} to find out information about the 310 swapfile. 311- If you want to write anyway prepend ":silent!" to the command. For example: > 312 :silent! w! /tmp/test 313< The special command is needed, since you already added the ! for overwriting 314 an existing file. 315 316 *E139* > 317 File is loaded in another buffer 318 319You are trying to write a file under a name which is also used in another 320buffer. This would result in two versions of the same file. 321 322 *E142* > 323 File not written: Writing is disabled by 'write' option 324 325The 'write' option is off. This makes all commands that try to write a file 326generate this message. This could be caused by a |-m| commandline argument. 327You can switch the 'write' option on with ":set write". 328 329 *E25* > 330 Nvim does not have a built-in GUI 331 332Nvim does not have a built in GUI, so `:gvim` and `:gui` don't work. 333 334 *E49* > 335 Invalid scroll size 336 337This is caused by setting an invalid value for the 'scroll', 'scrolljump' or 338'scrolloff' options. 339 340 *E17* > 341 "{filename}" is a directory 342 343You tried to write a file with the name of a directory. This is not possible. 344You probably need to append a file name. 345 346 *E19* > 347 Mark has invalid line number 348 349You are using a mark that has a line number that doesn't exist. This can 350happen when you have a mark in another file, and some other program has 351deleted lines from it. 352 353 *E219* *E220* > 354 Missing {. 355 Missing }. 356 357Using a {} construct in a file name, but there is a { without a matching } or 358the other way around. It should be used like this: {foo,bar}. This matches 359"foo" and "bar". 360 361 *E315* > 362 ml_get: invalid lnum: {number} 363 364This is an internal Vim error. Please try to find out how it can be 365reproduced, and submit a |bug-report|. 366 367 *E173* > 368 {number} more files to edit 369 370You are trying to exit, while the last item in the argument list has not been 371edited. This protects you from accidentally exiting when you still have more 372files to work on. See |argument-list|. If you do want to exit, just do it 373again and it will work. 374 375 *E23* *E194* > 376 No alternate file 377 No alternate file name to substitute for '#' 378 379The alternate file is not defined yet. See |alternate-file|. 380 381 *E32* > 382 No file name 383 384The current buffer has no name. To write it, use ":w fname". Or give the 385buffer a name with ":file fname". 386 387 *E141* > 388 No file name for buffer {number} 389 390One of the buffers that was changed does not have a file name. Therefore it 391cannot be written. You need to give the buffer a file name: > 392 :buffer {number} 393 :file {filename} 394< 395 *E33* > 396 No previous substitute regular expression 397 398When using the '~' character in a pattern, it is replaced with the previously 399used pattern in a ":substitute" command. This fails when no such command has 400been used yet. See |/~|. This also happens when using ":s/pat/%/", where the 401"%" stands for the previous substitute string. 402 403 *E35* > 404 No previous regular expression 405 406When using an empty search pattern, the previous search pattern is used. But 407that is not possible if there was no previous search. 408 409 *E24* > 410 No such abbreviation 411 412You have used an ":unabbreviate" command with an argument which is not an 413existing abbreviation. All variations of this command give the same message: 414":cunabbrev", ":iunabbrev", etc. Check for trailing white space. 415 416 *E31* > 417 No such mapping 418 419You have used an ":unmap" command with an argument which is not an existing 420mapping. All variations of this command give the same message: ":cunmap", 421":unmap!", etc. A few hints: 422- Check for trailing white space. 423- If the mapping is buffer-local you need to use ":unmap <buffer>". 424 |:map-<buffer>| 425 426 *E37* *E89* > 427 No write since last change (add ! to override) 428 No write since last change for buffer {N} (add ! to override) 429 430You are trying to |abandon| a file that has changes. Vim protects you from 431losing your work. You can either write the changed file with ":w", or, if you 432are sure, |abandon| it anyway, and lose all the changes. This can be done by 433adding a '!' character just after the command you used. Example: > 434 :e other_file 435changes to: > 436 :e! other_file 437< 438 *E162* > 439 No write since last change for buffer "{name}" 440 441This appears when you try to exit Vim while some buffers are changed. You 442will either have to write the changed buffer (with |:w|), or use a command to 443abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you 444don't throw away changes you really want to keep. You might have forgotten 445about a buffer, especially when 'hidden' is set. 446 447> 448 [No write since last change] 449 450This appears when executing a shell command while at least one buffer was 451changed. To avoid the message reset the 'warn' option. 452 453 *E38* > 454 Null argument 455 456Something inside Vim went wrong and resulted in a NULL pointer. If you know 457how to reproduce this problem, please report it. |bugs| 458 459 *E41* *E82* *E83* *E342* > 460 Out of memory! 461 Out of memory! (allocating {number} bytes) 462 Cannot allocate any buffer, exiting... 463 Cannot allocate buffer, using other one... 464 465Oh, oh. You must have been doing something complicated, or some other program 466is consuming your memory. Be careful! Vim is not completely prepared for an 467out-of-memory situation. First make sure that any changes are saved. Then 468try to solve the memory shortage. To stay on the safe side, exit Vim and 469start again. 470 471Buffers are only partly kept in memory, thus editing a very large file is 472unlikely to cause an out-of-memory situation. Undo information is completely 473in memory, you can reduce that with these options: 474- 'undolevels' Set to a low value, or to -1 to disable undo completely. This 475 helps for a change that affects all lines. 476- 'undoreload' Set to zero to disable. 477 478 *E339* > 479 Pattern too long 480 481This happens on systems with 16 bit ints: The compiled regexp pattern is 482longer than about 65000 characters. Try using a shorter pattern. 483It also happens when the offset of a rule doesn't fit in the space available. 484Try simplifying the pattern. 485 486 *E45* > 487 'readonly' option is set (add ! to override) 488 489You are trying to write a file that was marked as read-only. To write the 490file anyway, either reset the 'readonly' option, or add a '!' character just 491after the command you used. Example: > 492 :w 493changes to: > 494 :w! 495< 496 *E294* *E295* *E301* > 497 Read error in swap file 498 Seek error in swap file read 499 Oops, lost the swap file!!! 500 501Vim tried to read text from the |swap-file|, but something went wrong. The 502text in the related buffer may now be corrupted! Check carefully before you 503write a buffer. You may want to write it in another file and check for 504differences. 505 506 *E192* > 507 Recursive use of :normal too deep 508 509You are using a ":normal" command, whose argument again uses a ":normal" 510command in a recursive way. This is restricted to 'maxmapdepth' levels. This 511example illustrates how to get this message: > 512 :map gq :normal gq<CR> 513If you type "gq", it will execute this mapping, which will call "gq" again. 514 515 *E22* > 516 Scripts nested too deep 517 518Scripts can be read with the "-s" command-line argument and with the 519`:source!` command. The script can then again read another script. This can 520continue for about 14 levels. When more nesting is done, Vim assumes that 521there is a recursive loop and stops with this error message. 522 523 *E300* > 524 Swap file already exists (symlink attack?) 525 526This message appears when Vim is trying to open a swap file and finds it 527already exists or finds a symbolic link in its place. This shouldn't happen, 528because Vim already checked that the file doesn't exist. Either someone else 529opened the same file at exactly the same moment (very unlikely) or someone is 530attempting a symlink attack (could happen when editing a file in /tmp or when 531'directory' starts with "/tmp", which is a bad choice). 532 533 *E432* > 534 Tags file not sorted: {file name} 535 536Vim (and Vi) expect tags files to be sorted in ASCII order. Binary searching 537can then be used, which is a lot faster than a linear search. If your tags 538files are not properly sorted, reset the 'tagbsearch' option. 539This message is only given when Vim detects a problem when searching for a 540tag. Sometimes this message is not given, even though the tags file is not 541properly sorted. 542 543 *E424* > 544 Too many different highlighting attributes in use 545 546Vim can only handle about 223 different kinds of highlighting. If you run 547into this limit, you have used too many |:highlight| commands with different 548arguments. A ":highlight link" is not counted. 549 550 *E77* > 551 Too many file names (glob not allowed) 552 553When expanding file names, more than one match was found. Only one match is 554allowed for the command that was used. 555Use |:next| if you want to edit all files matching a glob pattern. 556 557 *E303* > 558 Unable to open swap file for "{filename}", recovery impossible 559 560Vim was not able to create a swap file. You can still edit the file, but if 561Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of 562memory when editing a big file. You may want to change the 'directory' option 563to avoid this error. This error is not given when 'directory' is empty. See 564|swap-file|. 565 566 *E140* > 567 Use ! to write partial buffer 568 569When using a range to write part of a buffer, it is unusual to overwrite the 570original file. It is probably a mistake (e.g., when Visual mode was active 571when using ":w"), therefore Vim requires using a ! after the command, e.g.: 572":3,10w!". 573> 574 575 Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type 576 VirtualBinding 577 578Messages like this appear when starting up. This is not a Vim problem, your 579X11 configuration is wrong. 580 581 *W10* > 582 Warning: Changing a readonly file 583 584The file is read-only and you are making a change to it anyway. You can use 585the |FileChangedRO| autocommand event to avoid this message (the autocommand 586must reset the 'readonly' option). See 'modifiable' to completely disallow 587making changes to a file. 588This message is only given for the first change after 'readonly' has been set. 589 590 *W13* > 591 Warning: File "{filename}" has been created after editing started 592 593You are editing a file in Vim when it didn't exist, but it does exist now. 594You will have to decide if you want to keep the version in Vim or the newly 595created file. This message is not given when 'buftype' is not empty. 596 597 *W11* > 598 Warning: File "{filename}" has changed since editing started 599 600The file which you have started editing has got another timestamp and the 601contents changed (more precisely: When reading the file again with the current 602option settings and autocommands you would end up with different text). This 603probably means that some other program changed the file. You will have to 604find out what happened, and decide which version of the file you want to keep. 605Set the 'autoread' option if you want to do this automatically. 606This message is not given when 'buftype' is not empty. 607Also see the |FileChangedShell| autocommand. 608 609You will be given a dialog with the following options: 610 611"OK": Dismiss the warning and continue editing. No changes are 612 loaded, the buffer remains as it is. 613 614"Load File": Reload the file from disk, replacing the current buffer 615 contents. Any changes you made in Vim that haven't been saved 616 will be lost. 617 618"Load File and Options": 619 Reload the file from disk and, in addition, apply relevant 620 file settings, such as indentation, syntax highlighting, text 621 width, and other filetype-specific options. This ensures the 622 buffer matches the file's intended configuration according to 623 your current settings and autocommands. 624 625There is one situation where you get this message even though there is nothing 626wrong: If you save a file in Windows on the day the daylight saving time 627starts. It can be fixed in one of these ways: 628- Add this line in your autoexec.bat: > 629 SET TZ=-1 630< Adjust the "-1" for your time zone. 631- Disable "automatically adjust clock for daylight saving changes". 632- Just write the file again the next day. Or set your clock to the next day, 633 write the file twice and set the clock back. 634 635If you get W11 all the time, you may need to disable "Acronis Active 636Protection" or register Vim as a trusted service/application. 637 638 *W12* > 639 Warning: File "{filename}" has changed and the buffer was changed in Vim as well 640 641Like the above, and the buffer for the file was changed in this Vim as well. 642You will have to decide if you want to keep the version in this Vim or the one 643on disk. This message is not given when 'buftype' is not empty. 644 645 *W16* > 646 Warning: Mode of file "{filename}" has changed since editing started 647 648When the timestamp for a buffer was changed and the contents are still the 649same but the mode (permissions) have changed. This usually occurs when 650checking out a file from a version control system, which causes the read-only 651bit to be reset. It should be safe to reload the file. Set 'autoread' to 652automatically reload the file. 653 654 *E211* > 655 File "{filename}" no longer available 656 657The file which you have started editing has disappeared, or is no longer 658accessible. Make sure you write the buffer somewhere to avoid losing 659changes. This message is not given when 'buftype' is not empty. 660 661 *W14* > 662 Warning: List of file names overflow 663 664You must be using an awful lot of buffers. It's now possible that two buffers 665have the same number, which causes various problems. You might want to exit 666Vim and restart it. 667 668 *E931* > 669 Buffer cannot be registered 670 671Out of memory or a duplicate buffer number. May happen after W14. Looking up 672a buffer will not always work, better restart Vim. 673 674 *E296* *E297* > 675 Seek error in swap file write 676 Write error in swap file 677 678This mostly happens when the disk is full. Vim could not write text into the 679|swap-file|. It's not directly harmful, but when Vim unexpectedly exits some 680text may be lost without recovery being possible. Vim might run out of memory 681when this problem persists. 682 683 *E10* > 684 \\ should be followed by /, ? or & 685 686A command line started with a backslash or the range of a command contained a 687backslash in a wrong place. This is often caused by command-line continuation 688being disabled. Remove the 'C' flag from the 'cpoptions' option to enable it. 689 690 *E471* > 691 Argument required 692 693Ex command was executed without a mandatory argument(s). 694 695 *E474* *E475* *E983* > 696 Invalid argument 697 Invalid argument: {arg} 698 Duplicate argument: {arg} 699 700Ex command or function was given an invalid argument. Or |jobstart()| or 701|system()| was given a non-executable command. 702 703 *E488* > 704 Trailing characters 705 Trailing characters: {text} 706 707An argument was given to an Ex command that does not permit one. 708Or the argument has invalid characters and has not been recognized. 709 710 *E477* *E478* > 711 No ! allowed 712 Don't panic! 713 714You have added a "!" after an Ex command that doesn't permit one. 715 716 *E481* > 717 No range allowed 718 719A range was specified for an Ex command that doesn't permit one. See 720|cmdline-ranges|. 721 722 *E482* *E483* > 723 Can't create file {filename} 724 Can't get temp file name 725 726Vim cannot create a temporary file. 727 728 *E484* *E485* > 729 Can't open file {filename} 730 Can't read file {filename} 731 732Vim cannot read a temporary file. Especially on Windows, this can be caused 733by wrong escaping of special characters for cmd.exe; the approach was 734changed with patch 7.3.443. Try using |shellescape()| for all shell arguments 735given to |system()|, or explicitly add escaping with ^. Also see 736'shellxquote' and 'shellxescape'. 737 738 *E464* > 739 Ambiguous use of user-defined command 740 741There are two user-defined commands with a common name prefix, and you used 742Command-line completion to execute one of them. |user-cmd-ambiguous| 743Example: > 744 :command MyCommand1 echo "one" 745 :command MyCommand2 echo "two" 746 :MyCommand 747< 748 *E492* > 749 Not an editor command 750 751You tried to execute a command that is neither an Ex command nor 752a user-defined command. 753 754 *E905* > 755 Cannot set this option after startup 756 757You tried to set an option after startup that only allows changes during 758startup. 759 760 *E943* > 761 Command table needs to be updated, run 'make' 762 763This can only happen when changing the source code, after adding a command in 764src/ex_cmds.lua. Update the lookup table by re-running the build. 765 766 *E970* > 767 Failed to initialize lua interpreter 768 Failed to initialize builtin lua modules 769 770Nvim failed to initialize the Lua interpreter or its builtin modules during 771startup. This is a fatal error that prevents Nvim from running. 772 773 *E5107* > 774 Lua: {error} 775 776Lua code compilation (loadbuffer) failed when executing |:lua| commands or 777functions. {error} contains the Lua syntax or compilation error message. 778 779 *E5108* > 780 Lua function: {error} 781 Lua: {error} 782 783Lua code execution (pcall) failed, when executing Lua code or during Lua 784function completion. {error} contains the Lua runtime error message and 785traceback. 786 787 *E5109* > 788 Lua: {error} 789 790Lua code compilation (loadbuffer) failed during |:luado|. {error} contains the 791Lua syntax or compilation error message. 792 793 *E5110* > 794 Lua: {error} 795 796Lua code execution (pcall) failed during |:luado| command initialization. 797{error} contains the Lua runtime error message and traceback. 798 799 *E5111* > 800 Lua: {error} 801 802Lua code execution failed in |:luado| callback or during Lua script loading. 803{error} contains the Lua runtime error message and traceback. 804 805 *E5112* > 806 Lua chunk: {error} 807 808Lua chunk compilation failed. The loadstring() function returned an error 809when trying to compile the Lua code. {error} contains the compilation error 810message. 811 812 *E5113* > 813 Lua chunk: {error} 814 815Lua chunk execution failed after successful compilation. {error} contains the 816Lua runtime error message and traceback. 817 818 *E5114* > 819 Converting print argument #{i}: {error} 820 821Lua `print()` failed to convert argument number {i} to a string. {error} 822contains the conversion error details. 823 824 *E5115* > 825 Loading Lua debug string: {error} 826 827Failed to load (compile) a Lua debug command string. {error} contains the 828compilation error message. 829 830 *E5116* > 831 Calling Lua debug string: {error} 832 833Failed to execute a Lua debug command string. {error} contains the runtime 834error message and traceback. 835 836 *E5117* > 837 Lua mapping no longer exists 838 839Replayed keys (|.|, |CmdAtom| `keys`, or keys captured by |vim.on_key()|) 840referenced a Lua-callback mapping that was deleted or redefined since. 841 842============================================================================== 843Messages *messages* 844 845Messages are shown in the |ui2| messages area. If they exceed ("overflow") the 846area then they will be collapsed and a "spill" indicator will indicate how 847many lines were collapsed. Use |g<| to see the full messages. 848 849To avoid overflow ("spill") of the |ui2| messages area: 850- Set 'cmdheight' to 2 or higher. 851- Add flags to 'shortmess'. 852- Reset 'showcmd' and/or 'ruler'. 853 854 *more-prompt* *pager* > 855 f/d/j: screen/page/line down, b/u/k: up, <Esc>: stop paging 856 857This message is given when the |ui2| modal dialog is active. 858Only when the 'more' option is on. 859Highlighted with the |hl-MoreMsg| group. 860 861With |ui2|: use "g<" to show messages in the pager. When a command emits a 862message while a previous message is still displayed, the messages are 863collected in the pager window without focusing it: type "g<" to focus it, or 864any other typed key to dismiss it. 865 866 Type Effect ~ 867 <CR> or <NL> or j or <Down> one more line 868 d down a page (half a screen) 869 <Space> or f or <PageDown> or CTRL-F down a screen 870 G down all the way, until the 871 hit-enter prompt 872 873 <BS> or k or <Up> one line back 874 u up a page (half a screen) 875 b or <PageUp> or CTRL-B back a screen 876 g back to the start 877 878 q, <Esc> or CTRL-C stop the listing 879 : stop the listing and enter a 880 command-line 881 <C-Y> yank (copy) a modeless 882 selection to the clipboard 883 ("* and "+ registers) 884 {menu-entry} what the menu is defined to 885 in Cmdline-mode. 886 <LeftMouse> next page* 887 888 889============================================================================== 890Progress messages *progress-message* 891 892Plugins and core Nvim features can emit "progress" |ui-messages| to report the 893state of long-running tasks. 894 895Create or update a progress-message by calling |nvim_echo()| with 896`kind='progress'`. Each message has a unique message-id, returned by 897`nvim_echo`. You can specify the id when calling `nvim_echo` to update an 898existing progress-message. 899 900Note: To avoid a "dangling" progress-message, always emit a non-"running" 901`status`, when your task is done; otherwise consumers (including Nvim itself) 902tracking the task by its message-id cannot know when the task is done. 903 904Events: ~ 905 • msg_show |ui-messages| event is fired for ext-ui upon creation/update of 906 a progress-message 907 • Updating or creating a progress message also triggers the |Progress| 908 autocommand. 909 910Example: >lua 911 local progress = { 912 kind = 'progress', 913 percent = 10, 914 source = 'my-plugin', 915 status = 'running', 916 title = 'term', 917 } 918 progress.id = vim.api.nvim_echo({ { 'searching...' } }, true, progress) 919 progress.percent = 50 920 vim.api.nvim_echo({ { 'searching' } }, true, progress) 921 progress.status = 'success' 922 progress.percent = 100 923 vim.api.nvim_echo({ { 'done' } }, true, progress) 924< 925See also: |nvim_echo()| |ui-messages| |Progress| 926 927 vim:tw=78:ts=8:noet:ft=help:norl: