diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-05-09 20:53:19 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-05-09 20:53:19 +0200 |
| commit | 6845a9c12b2f00d86c868323ecad883ca6fffce8 (patch) | |
| tree | 983933e96a2735c0219d63b3d41c58ec726e4e01 /lua | |
| parent | ba7d80255bef29168c81459b4637324e3afb4407 (diff) | |
| download | nvim-conf-6845a9c12b2f00d86c868323ecad883ca6fffce8.tar.gz nvim-conf-6845a9c12b2f00d86c868323ecad883ca6fffce8.zip | |
feat(noice) improve manage of split buffer
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/noice.lua | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua index fd28cf4..df6e251 100644 --- a/lua/plugins/noice.lua +++ b/lua/plugins/noice.lua @@ -32,7 +32,16 @@ return { filter = { cmdline = "G", }, - opts = { enter = true, render = "plain", format = { "{message}" }, replace = true }, + opts = { + enter = true, + render = "plain", + format = { "{message}" }, + replace = true, + close = { + events = { "BufLeave" }, + keys = { "q" }, + }, + }, }, { view = "mini", @@ -43,7 +52,6 @@ return { { view = "mini", filter = { - event = "msg_show", find = "Config Change Detected. Reloading...", }, }, |