nvim/psoxizsh: drop deprecated use of LazyVim.toggle

This commit is contained in:
Paul Stemmet 2024-12-01 18:42:09 +00:00
parent 28523598e2
commit 97c0ec6d82
Signed by: Paul Stemmet
GPG key ID: EDEA539F594E7E75

View file

@ -62,7 +62,9 @@ function M.register_keybinds()
map('n', '<leader>wd', '<C-W>c', { desc = 'Delete Window', remap = true })
map('n', '<leader>-', '<C-W>s', { desc = 'New Window Below', remap = true })
map('n', '<leader>|', '<C-W>v', { desc = 'New Window Right', remap = true })
LazyVim.toggle.map('<leader>wz', LazyVim.toggle.maximize)
LazyVim.on_very_lazy(function()
LazyVim.ui.maximize():map("<leader>wz")
end)
end
---Helper function for moving between diagnostics