🐛 fix(nvim): added optional to a lot of plugins

This commit is contained in:
Sergio Laín 2023-11-26 23:55:13 +01:00
parent 16c625086d
commit 4280546c48
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
8 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,6 @@
return {
"stevearc/conform.nvim",
optional = true,
-- stylua: ignore
keys = {
{"<leader>cic", "<cmd>ConformInfo<CR>", mode = {"n", "v"}, desc = "Conform Info"},

View file

@ -1,5 +1,6 @@
return {
"mfussenegger/nvim-dap",
optional = true,
opts = {
defaults = {
fallback = {

View file

@ -14,6 +14,7 @@ return {
},
{
"mfussenegger/nvim-dap",
optional = true,
keys = {
{ "<F2>", false },
},

View file

@ -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>")

View file

@ -1,5 +1,6 @@
return {
"folke/flash.nvim",
optional = true,
keys = {
-- stylua: ignore
{

View file

@ -1,5 +1,6 @@
return {
"nvim-neo-tree/neo-tree.nvim",
optional = true,
dependencies = {
"luckasRanarison/neo-rename.nvim",
opts = {},

View file

@ -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" },

View file

@ -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"},