Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F132132
config.lua
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
704 B
Referenced Files
None
Subscribers
None
config.lua
View Options
local
config_mt
=
{}
config_mt
.
__index
=
config_mt
function
config_mt
:
get_in
(
config
,
key_table
)
local
current_value
=
config
for
_
,
key
in
ipairs
(
key_table
)
do
if
current_value
==
nil
then
return
nil
end
current_value
=
current_value
[
key
]
end
return
current_value
end
function
config_mt
:
get
(
key_table
)
return
self
:
get_in
(
self
.
user_config
,
key_table
)
or
self
:
get_in
(
self
.
default_config
,
key_table
)
end
local
config
=
{
user_config
=
{}
}
config
.
default_config
=
{
backends
=
{
"ivy.backends.buffers"
,
"ivy.backends.files"
,
"ivy.backends.lines"
,
"ivy.backends.rg"
,
"ivy.backends.lsp-workspace-symbols"
,
},
}
return
setmetatable
(
config
,
config_mt
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Apr 6 2026, 9:49 PM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10585
Default Alt Text
config.lua (704 B)
Attached To
Mode
R1 ivy.nvim
Attached
Detach File
Event Timeline
Log In to Comment