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:
Aritra Sen 2023-06-26 21:26:22 +05:30 committed by GitHub
parent 4a4e0f4013
commit ac72a8df4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -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 = {