I wish to change the layout_strategy
for the telescope plugin from the NvChad default value of horizontal
to vertical
. This should be possible by setting layout_strategy = "vertical"
somewhere...
According to the NvChad docs I can override the default settings specified in plugins/configs/telescope.lua
in my own custom/init.lua
, but I also found that it could/should be done in the custom/chadrc.lua
.
Question
What line(s) do I have to add to what file to change the default layout_strategy
for the telescope plugin, and only that (keeping other defaults intact)?
I have tried adding to
custom/chadrc.lua
M.telescope = {
layout_strategy = "vertical"
}
Also tried
M.telescope = {
defaults = {
layout_strategy = "vertical",
},
}
}
and
local o = vim.telescope.defaults
o.layout_strategy = "vertical"
But that does not seem to work.