Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F130191
vim_mock.lua
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
613 B
Referenced Files
None
Subscribers
None
vim_mock.lua
View Options
local
mock
=
{
commands
=
{},
}
mock
.
reset
=
function
()
mock
.
commands
=
{}
_G
.
vim
=
{
notify
=
function
()
end
,
cmd
=
function
(
cmd
)
table.insert
(
mock
.
commands
,
cmd
)
end
,
api
=
{
nvim_echo
=
function
()
end
,
nvim_get_current_win
=
function
()
return
10
end
,
nvim_command
=
function
()
end
,
nvim_win_get_buf
=
function
()
return
10
end
,
nvim_win_set_option
=
function
()
end
,
nvim_buf_set_option
=
function
()
end
,
nvim_buf_set_var
=
function
()
end
,
nvim_buf_set_keymap
=
function
()
end
,
},
}
end
return
mock
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Apr 6 2026, 3:01 PM (5 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16056
Default Alt Text
vim_mock.lua (613 B)
Attached To
Mode
R1 ivy.nvim
Attached
Detach File
Event Timeline
Log In to Comment