aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-12-25 06:56:33 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-12-25 07:42:06 +0800
commit8eff0ca6d50bf2ef0897a08f5fdbc0abed7c1266 (patch)
treef7622e277f4acf39ec8bc061cf983001ffc26176 /src/nvim/eval.lua
parent0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29 (diff)
downloadrneovim-8eff0ca6d50bf2ef0897a08f5fdbc0abed7c1266.tar.gz
rneovim-8eff0ca6d50bf2ef0897a08f5fdbc0abed7c1266.tar.bz2
rneovim-8eff0ca6d50bf2ef0897a08f5fdbc0abed7c1266.zip
vim-patch:8.2.2468: not easy to get the full command name from a shortened one
Problem: Not easy to get the full command name from a shortened one. Solution: Add fullcommand(). (Martin Tournoij, closes vim/vim#7777) https://github.com/vim/vim/commit/038e09ee7645731de0296d255aabb17603276443
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 9507a12a02..e445a08227 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -133,6 +133,7 @@ return {
foldtext={},
foldtextresult={args=1, base=1},
foreground={},
+ fullcommand={args=1, base=1},
funcref={args={1, 3}, base=1},
['function']={args={1, 3}, base=1},
garbagecollect={args={0, 1}},