From dbdd58e548fcf55848359b696275fd848756db7b Mon Sep 17 00:00:00 2001 From: Shougo Date: Mon, 9 May 2022 13:52:31 +0900 Subject: feat: cmdline funcs (#18284) vim-patch:8.2.4903: cannot get the current cmdline completion type and position Problem: Cannot get the current cmdline completion type and position. Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita, closes vim/vim#10344) https://github.com/vim/vim/commit/79d599b8772022af1d657f368c2fc97aa342c0da vim-patch:8.2.4910: imperfect coding Problem: Imperfect coding. Solution: Make code nicer. https://github.com/vim/vim/commit/9ff7d717aa3176de5c61de340deb93f41c7780fc --- src/nvim/eval.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/eval.lua') diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 698cffe2fa..d7a17d6e15 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -152,8 +152,10 @@ return { getcharpos={args=1, base=1}, getcharsearch={}, getcharstr={args={0, 1}}, + getcmdcompltype={}, getcmdline={}, getcmdpos={}, + getcmdscreenpos={}, getcmdtype={}, getcmdwintype={}, getcompletion={args={2, 3}, base=1}, -- cgit