Mercurial > vim
diff runtime/doc/eval.txt @ 19870:658248b68f7c v8.2.0491
patch 8.2.0491: cannot recognize a <script> mapping using maparg()
Commit: https://github.com/vim/vim/commit/2da0f0c445da3c9b35b2a0cd595d10e81ad2a6f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 1 19:22:12 2020 +0200
patch 8.2.0491: cannot recognize a <script> mapping using maparg()
Problem: Cannot recognize a <script> mapping using maparg().
Solution: Add the "script" key. (closes https://github.com/vim/vim/issues/5873)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Apr 2020 19:30:04 +0200 |
parents | 350e1d3131d8 |
children | f92435f0f449 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6824,6 +6824,7 @@ maparg({name} [, {mode} [, {abbr} [, {di "rhs" The {rhs} of the mapping as typed. "silent" 1 for a |:map-silent| mapping, else 0. "noremap" 1 if the {rhs} of the mapping is not remappable. + "script" 1 if mapping was defined with <script>. "expr" 1 for an expression mapping (|:map-<expr>|). "buffer" 1 for a buffer local mapping (|:map-local|). "mode" Modes for which the mapping is defined. In