comparison runtime/doc/cmdline.txt @ 29290:dc4de65a7fb7

Update runtime files Commit: https://github.com/vim/vim/commit/8a3b805c6c9cae341d560df9c3567ebbe42a7404 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 26 12:21:15 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jun 2022 13:30:04 +0200
parents 1e9e9d89f0ee
children f8116058ca76
comparison
equal deleted inserted replaced
29289:430376616aac 29290:dc4de65a7fb7
934 match with (for FileType, Syntax and SpellFileMissing 934 match with (for FileType, Syntax and SpellFileMissing
935 events). 935 events).
936 When the match is with a file name, it is expanded to the 936 When the match is with a file name, it is expanded to the
937 full path. 937 full path.
938 *:<sfile>* *<sfile>* 938 *:<sfile>* *<sfile>*
939 <sfile> When executing a ":source" command, is replaced with the 939 <sfile> When executing a `:source` command, is replaced with the
940 file name of the sourced file. *E498* 940 file name of the sourced file. *E498*
941 When executing a legacy function, is replaced with the call 941 When executing a legacy function, is replaced with the call
942 stack, as with <stack> (this is for backwards 942 stack, as with <stack> (this is for backwards
943 compatibility, using <stack> or <script> is preferred). 943 compatibility, using <stack> or <script> is preferred).
944 In Vim9 script using <sfile> in a function gives error 944 In Vim9 script using <sfile> in a function gives error
957 name of the sourced file. When executing a function, is 957 name of the sourced file. When executing a function, is
958 replaced with the file name of the script where it is 958 replaced with the file name of the script where it is
959 defined. 959 defined.
960 If the file name cannot be determined you get error *E1274* . 960 If the file name cannot be determined you get error *E1274* .
961 *:<slnum>* *<slnum>* 961 *:<slnum>* *<slnum>*
962 <slnum> When executing a ":source" command, is replaced with the 962 <slnum> When executing a `:source` command, is replaced with the
963 line number. *E842* 963 line number. *E842*
964 When executing a function it's the line number relative to 964 When executing a function it's the line number relative to
965 the start of the function. 965 the start of the function.
966 *:<sflnum>* *<sflnum>* 966 *:<sflnum>* *<sflnum>*
967 <sflnum> When executing a script, is replaced with the line number. 967 <sflnum> When executing a script, is replaced with the line number.