🐛 fix(nvim): added optional to a lot of plugins
This commit is contained in:
parent
16c625086d
commit
4280546c48
8 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"stevearc/conform.nvim",
|
||||
optional = true,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{"<leader>cic", "<cmd>ConformInfo<CR>", mode = {"n", "v"}, desc = "Conform Info"},
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
opts = {
|
||||
defaults = {
|
||||
fallback = {
|
||||
|
|
|
@ -14,6 +14,7 @@ return {
|
|||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
keys = {
|
||||
{ "<F2>", false },
|
||||
},
|
||||
|
|
|
@ -62,14 +62,12 @@ return {
|
|||
ft = "floaterm",
|
||||
title = "Floaterm",
|
||||
size = { height = 0.4 },
|
||||
filter = function(buf, win)
|
||||
return vim.api.nvim_win_get_config(win).relative == ""
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
optional = true,
|
||||
opts = function(_, dashboard)
|
||||
-- stylua: ignore
|
||||
local button = dashboard.button("G", " " .. " Git", "<cmd>FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazygit<CR>")
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"folke/flash.nvim",
|
||||
optional = true,
|
||||
keys = {
|
||||
-- stylua: ignore
|
||||
{
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
"luckasRanarison/neo-rename.nvim",
|
||||
opts = {},
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"nvim-neotest/neotest",
|
||||
optional = true,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>tl", function() require("neotest").run.run_last() end, desc = "Run Last Test" },
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"gbprod/yanky.nvim",
|
||||
optional = true,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{"<leader>sy", function() require("telescope").extensions.yank_history.yank_history({}) end, mode = {"n", "v"}, desc = "Yank History"},
|
||||
|
|
Loading…
Add table
Reference in a new issue