Mercurial > vim
comparison runtime/doc/builtin.txt @ 29828:6b7020f3d856 v9.0.0253
patch 9.0.0253: a symlink to an autoload script results in two entries
Commit: https://github.com/vim/vim/commit/753885b6c5b9021184daa94d32fd8bf025f1b488
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 16:30:36 2022 +0100
patch 9.0.0253: a symlink to an autoload script results in two entries
Problem: A symlink to an autoload script results in two entries in the list
of scripts, items expected in one are actually in the other.
Solution: Have one script item refer to the actually sourced one.
(closes #10960)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 17:45:03 +0200 |
parents | 761631155a90 |
children | b15334beeaa4 |
comparison
equal
deleted
inserted
replaced
29827:db296237ca1d | 29828:6b7020f3d856 |
---|---|
251 getqflist({what}) Dict get specific quickfix list properties | 251 getqflist({what}) Dict get specific quickfix list properties |
252 getreg([{regname} [, 1 [, {list}]]]) | 252 getreg([{regname} [, 1 [, {list}]]]) |
253 String or List contents of a register | 253 String or List contents of a register |
254 getreginfo([{regname}]) Dict information about a register | 254 getreginfo([{regname}]) Dict information about a register |
255 getregtype([{regname}]) String type of a register | 255 getregtype([{regname}]) String type of a register |
256 getscriptinfo() List list of sourced scripts | 256 getscriptinfo() List list of sourced scripts |
257 gettabinfo([{expr}]) List list of tab pages | 257 gettabinfo([{expr}]) List list of tab pages |
258 gettabvar({nr}, {varname} [, {def}]) | 258 gettabvar({nr}, {varname} [, {def}]) |
259 any variable {varname} in tab {nr} or {def} | 259 any variable {varname} in tab {nr} or {def} |
260 gettabwinvar({tabnr}, {winnr}, {name} [, {def}]) | 260 gettabwinvar({tabnr}, {winnr}, {name} [, {def}]) |
261 any {name} in {winnr} in tab page {tabnr} | 261 any {name} in {winnr} in tab page {tabnr} |
4087 In |Vim9-script| {regname} must be one character. | 4087 In |Vim9-script| {regname} must be one character. |
4088 | 4088 |
4089 Can also be used as a |method|: > | 4089 Can also be used as a |method|: > |
4090 GetRegname()->getregtype() | 4090 GetRegname()->getregtype() |
4091 | 4091 |
4092 getscriptinfo() *getscriptinfo()* | 4092 getscriptinfo() *getscriptinfo()* |
4093 Returns a |List| with information about all the sourced Vim | 4093 Returns a |List| with information about all the sourced Vim |
4094 scripts in the order they were sourced. (|:scriptinfo|) | 4094 scripts in the order they were sourced, like what |
4095 `:scriptnames` shows. | |
4095 | 4096 |
4096 Each item in the returned List is a |Dict| with the following | 4097 Each item in the returned List is a |Dict| with the following |
4097 items: | 4098 items: |
4098 autoload set to TRUE for a script that was used with | 4099 autoload set to TRUE for a script that was used with |
4099 |import autoload| but was not actually sourced | 4100 `import autoload` but was not actually sourced |
4100 yet. | 4101 yet (see |import-autoload|). |
4101 name vim script file name. | 4102 name vim script file name. |
4102 sid script ID |<SID>|. | 4103 sid script ID |<SID>|. |
4104 sourced if this script is an alias this is the script | |
4105 ID of the actually sourced script, otherwise zero | |
4103 | 4106 |
4104 gettabinfo([{tabnr}]) *gettabinfo()* | 4107 gettabinfo([{tabnr}]) *gettabinfo()* |
4105 If {tabnr} is not specified, then information about all the | 4108 If {tabnr} is not specified, then information about all the |
4106 tab pages is returned as a |List|. Each List item is a | 4109 tab pages is returned as a |List|. Each List item is a |
4107 |Dictionary|. Otherwise, {tabnr} specifies the tab page | 4110 |Dictionary|. Otherwise, {tabnr} specifies the tab page |