|
@@ -146,14 +146,13 @@ return require("packer").startup(function(use)
|
|
require("lv-dashboard").config()
|
|
require("lv-dashboard").config()
|
|
end,
|
|
end,
|
|
disable = not O.plugin.dashboard.active,
|
|
disable = not O.plugin.dashboard.active,
|
|
- -- opt = true,
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-- Zen Mode
|
|
-- Zen Mode
|
|
use {
|
|
use {
|
|
"folke/zen-mode.nvim",
|
|
"folke/zen-mode.nvim",
|
|
cmd = "ZenMode",
|
|
cmd = "ZenMode",
|
|
- -- event = "BufRead",
|
|
|
|
|
|
+ event = "BufRead",
|
|
config = function()
|
|
config = function()
|
|
require("lv-zen").config()
|
|
require("lv-zen").config()
|
|
end,
|
|
end,
|
|
@@ -190,6 +189,7 @@ return require("packer").startup(function(use)
|
|
-- Debugging
|
|
-- Debugging
|
|
use {
|
|
use {
|
|
"mfussenegger/nvim-dap",
|
|
"mfussenegger/nvim-dap",
|
|
|
|
+ event = "BufWinEnter",
|
|
config = function()
|
|
config = function()
|
|
require "lv-dap"
|
|
require "lv-dap"
|
|
end,
|
|
end,
|
|
@@ -199,10 +199,12 @@ return require("packer").startup(function(use)
|
|
-- Debugger management
|
|
-- Debugger management
|
|
use {
|
|
use {
|
|
"Pocco81/DAPInstall.nvim",
|
|
"Pocco81/DAPInstall.nvim",
|
|
|
|
+ event = "BufWinEnter",
|
|
-- event = "BufRead",
|
|
-- event = "BufRead",
|
|
disable = not O.plugin.dap.active,
|
|
disable = not O.plugin.dap.active,
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ -- TODO remove in favor of akinsho/nvim-toggleterm.lua
|
|
-- Floating terminal
|
|
-- Floating terminal
|
|
use {
|
|
use {
|
|
"numToStr/FTerm.nvim",
|
|
"numToStr/FTerm.nvim",
|