diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-09 15:17:53 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-11-09 21:34:02 +0800 |
commit | a4b80c71eae09a5f6f76bce46be46efd247c7223 (patch) | |
tree | db275a3fd8a09de50c87f986e357a3951da445e7 /src/nvim/eval.lua | |
parent | 610f50ddaff260e2e2f7236f6a3982ee7554c2a6 (diff) | |
download | rneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.tar.gz rneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.tar.bz2 rneovim-a4b80c71eae09a5f6f76bce46be46efd247c7223.zip |
vim-patch:8.2.4140: maparg() does not indicate the type of script
Problem: maparg() does not indicate the type of script where it was defined.
Solution: Add "scriptversion".
https://github.com/vim/vim/commit/a9528b39a666dbaa026320f73bae4b1628a7fe51
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 221be492af..0b81e2eb65 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -6189,6 +6189,7 @@ M.funcs = { (|mapmode-ic|) "sid" The script local ID, used for <sid> mappings (|<SID>|). Negative for special contexts. + "scriptversion" The version of the script, always 1. "lnum" The line number in "sid", zero if unknown. "nowait" Do not wait for other, longer mappings. (|:map-<nowait>|). |