Skip to content

Commit 0a2f589

Browse files
committed
Update vimscript dictionary
M autoload/vimcomplete/util.vim M data/vim9.dict M tools/vimdictgen.vim
1 parent 70e73c0 commit 0a2f589

File tree

3 files changed

+137
-4
lines changed

3 files changed

+137
-4
lines changed

autoload/vimcomplete/util.vim

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,10 @@ export def InfoWindowSendKey(key: string): string
147147
enddef
148148

149149
export def InfoWindowPageUp(): string
150-
# return InfoWindowSendKey("\<C-u>")
151-
# return InfoWindowSendKey("\<PageUp>")
152150
return InfoWindowSendKey("\<C-B>")
153151
enddef
154152

155153
export def InfoWindowPageDown(): string
156-
# return InfoWindowSendKey("\<C-d>")
157-
# return InfoWindowSendKey("\<PageDown>")
158154
return InfoWindowSendKey("\<C-F>")
159155
enddef
160156

data/vim9.dict

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ PmenuSbar
162162
PmenuSel
163163
PmenuThumb
164164
PopupNotification
165+
PopupSelected
165166
Question
166167
QuickFixCmdPost
167168
QuickFixCmdPre
@@ -371,6 +372,8 @@ ballooneval
371372
balloonevalterm
372373
balloonexpr
373374
balt
375+
base64_decode(
376+
base64_encode(
374377
bdelete
375378
bdir
376379
bdlay
@@ -393,6 +396,7 @@ bl
393396
blank
394397
blast
395398
blob2list(
399+
blob2str(
396400
bmodified
397401
bnext
398402
bo
@@ -699,6 +703,7 @@ edit
699703
ef
700704
efm
701705
ei
706+
eiw
702707
ek
703708
else
704709
elseif
@@ -739,6 +744,7 @@ eval(
739744
event
740745
eventhandler()
741746
eventignore
747+
eventignorewin
742748
ex
743749
executable(
744750
execute(
@@ -901,6 +907,7 @@ getregion(
901907
getregionpos(
902908
getregtype(
903909
getscriptinfo(
910+
getstacktrace()
904911
gettabinfo(
905912
gettabvar(
906913
gettabwinvar(
@@ -1335,6 +1342,7 @@ new
13351342
next
13361343
nextnonblank(
13371344
nf
1345+
ngettext(
13381346
nmap
13391347
nmapclear
13401348
nmenu
@@ -1602,6 +1610,16 @@ noxtermcodes
16021610
nr2char(
16031611
nrformats
16041612
nu
1613+
null_blob
1614+
null_channel
1615+
null_class
1616+
null_dict
1617+
null_function
1618+
null_job
1619+
null_list
1620+
null_object
1621+
null_partial
1622+
null_string
16051623
number
16061624
numberwidth
16071625
nunmap
@@ -2069,6 +2087,7 @@ stl
20692087
stmp
20702088
stop
20712089
stopinsert
2090+
str2blob(
20722091
str2float(
20732092
str2list(
20742093
str2nr(
@@ -2523,6 +2542,119 @@ ur
25232542
user
25242543
ut
25252544
utf16idx(
2545+
v:argv
2546+
v:beval_bufnr
2547+
v:beval_col
2548+
v:beval_lnum
2549+
v:beval_text
2550+
v:beval_winid
2551+
v:beval_winnr
2552+
v:char
2553+
v:charconvert_from
2554+
v:charconvert_to
2555+
v:cmdarg
2556+
v:cmdbang
2557+
v:collate
2558+
v:colornames
2559+
v:completed_item
2560+
v:count
2561+
v:count1
2562+
v:ctype
2563+
v:dying
2564+
v:echospace
2565+
v:errmsg
2566+
v:errors
2567+
v:event
2568+
v:exception
2569+
v:exiting
2570+
v:false
2571+
v:fcs_choice
2572+
v:fcs_reason
2573+
v:fname
2574+
v:fname_diff
2575+
v:fname_in
2576+
v:fname_new
2577+
v:fname_out
2578+
v:folddashes
2579+
v:foldend
2580+
v:foldlevel
2581+
v:foldstart
2582+
v:hlsearch
2583+
v:insertmode
2584+
v:key
2585+
v:lang
2586+
v:lc_time
2587+
v:lnum
2588+
v:maxcol
2589+
v:mouse_col
2590+
v:mouse_lnum
2591+
v:mouse_win
2592+
v:mouse_winid
2593+
v:none
2594+
v:null
2595+
v:numbermax
2596+
v:numbermin
2597+
v:numbersize
2598+
v:oldfiles
2599+
v:operator
2600+
v:option_command
2601+
v:option_new
2602+
v:option_old
2603+
v:option_oldglobal
2604+
v:option_oldlocal
2605+
v:option_type
2606+
v:prevcount
2607+
v:profiling
2608+
v:progname
2609+
v:progpath
2610+
v:python3_version
2611+
v:register
2612+
v:scrollstart
2613+
v:searchforward
2614+
v:servername
2615+
v:shell_error
2616+
v:sizeofint
2617+
v:sizeoflong
2618+
v:sizeofpointer
2619+
v:stacktrace
2620+
v:statusmsg
2621+
v:swapchoice
2622+
v:swapcommand
2623+
v:swapname
2624+
v:t_TYPE
2625+
v:t_blob
2626+
v:t_bool
2627+
v:t_channel
2628+
v:t_class
2629+
v:t_dict
2630+
v:t_enum
2631+
v:t_enumvalue
2632+
v:t_float
2633+
v:t_func
2634+
v:t_job
2635+
v:t_list
2636+
v:t_none
2637+
v:t_number
2638+
v:t_object
2639+
v:t_string
2640+
v:t_typealias
2641+
v:termblinkresp
2642+
v:termrbgresp
2643+
v:termresponse
2644+
v:termrfgresp
2645+
v:termstyleresp
2646+
v:termu7resp
2647+
v:testing
2648+
v:this_session
2649+
v:throwpoint
2650+
v:true
2651+
v:val
2652+
v:var
2653+
v:version
2654+
v:versionlong
2655+
v:vim_did_enter
2656+
v:warningmsg
2657+
v:windowid
25262658
values(
25272659
var
25282660
varsofttabstop

tools/vimdictgen.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ const option_terminal_special: list<string> =
106106
->map((_, v: string) => v->trim("'"))
107107
->filter((_, v: string): bool => v =~ '\W')
108108

109+
const misc: list<string> =
110+
getcompletion('null_', 'help') + getcompletion('v:', 'help')
111+
->filter((_, v: string): bool => v != 'v:')
112+
109113
##
110114
var items = builtin_func
111115
+ cmds
@@ -119,6 +123,7 @@ var items = builtin_func
119123
+ option
120124
+ option_terminal
121125
+ option_terminal_special
126+
+ misc
122127

123128
def CompareWithoutTrailingParen(i1: string, i2: string): number
124129
var lhs = i1->substitute('($', '', '')->substitute('()$', '', '')

0 commit comments

Comments
 (0)