added gc and gb as keys to trigger lazy load on comment plugin, removed unnesc opt keys

This commit is contained in:
primeapple 2022-04-30 08:13:34 +02:00 committed by siduck
parent c8df626776
commit 949a8d5aaf

View File

@ -78,7 +78,6 @@ local plugins = {
-- git stuff
["lewis6991/gitsigns.nvim"] = {
opt = true,
config = function()
require("plugins.configs.others").gitsigns()
end,
@ -91,7 +90,6 @@ local plugins = {
["neovim/nvim-lspconfig"] = {
module = "lspconfig",
opt = true,
setup = function()
require("core.utils").packer_lazy_load "nvim-lspconfig"
-- reload the current file so lsp actually starts for it
@ -112,7 +110,6 @@ local plugins = {
},
["andymass/vim-matchup"] = {
opt = true,
setup = function()
require("core.utils").packer_lazy_load "vim-matchup"
end,
@ -184,7 +181,7 @@ local plugins = {
["numToStr/Comment.nvim"] = {
module = "Comment",
keys = { "gcc" },
keys = { "gc", "gb" },
setup = function()
require("core.mappings").comment()