From eb5874f7a16f84901480e64989699e72861d8cb5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 2 Oct 2022 21:37:09 +0200 Subject: [PATCH] nvim: configure notify Wrapping doesn't work, but i'll leave it there for now. --- .config/nvim/lua/my/tools.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nvim/lua/my/tools.lua b/.config/nvim/lua/my/tools.lua index dec65ae..bd9677d 100644 --- a/.config/nvim/lua/my/tools.lua +++ b/.config/nvim/lua/my/tools.lua @@ -135,6 +135,13 @@ require('dressing').setup({ min_width = { 60, 0.4 }, } }) + +require('notify').setup({ + on_open = function(win) + vim.api.nvim_win_set_option(win, 'wrap', true) -- does not work + end, + stages = 'static', +}) vim.notify = require('notify') require('autolist').setup({})