feat: add override config option to customize float layout (#132)
* (feat) Added override function for floatwin * (feat) Added in-place floatwin option modification Added in-place modification of floatwin options, and removed example from config.lua.
This commit is contained in:
parent
4a4e0f4013
commit
ac72a8df4a
2 changed files with 10 additions and 4 deletions
|
|
@ -80,6 +80,11 @@ local default_config = {
|
|||
win_options = {
|
||||
winblend = 10,
|
||||
},
|
||||
-- This is the config that will be passed to nvim_open_win.
|
||||
-- Change values here to customize the layout
|
||||
override = function(conf)
|
||||
return conf
|
||||
end,
|
||||
},
|
||||
-- Configuration for the actions floating preview window
|
||||
preview = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue