added gc and gb as keys to trigger lazy load on comment plugin, removed unnesc opt keys
This commit is contained in:
parent
c8df626776
commit
949a8d5aaf
|
@ -78,7 +78,6 @@ local plugins = {
|
||||||
|
|
||||||
-- git stuff
|
-- git stuff
|
||||||
["lewis6991/gitsigns.nvim"] = {
|
["lewis6991/gitsigns.nvim"] = {
|
||||||
opt = true,
|
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.others").gitsigns()
|
require("plugins.configs.others").gitsigns()
|
||||||
end,
|
end,
|
||||||
|
@ -91,7 +90,6 @@ local plugins = {
|
||||||
|
|
||||||
["neovim/nvim-lspconfig"] = {
|
["neovim/nvim-lspconfig"] = {
|
||||||
module = "lspconfig",
|
module = "lspconfig",
|
||||||
opt = true,
|
|
||||||
setup = function()
|
setup = function()
|
||||||
require("core.utils").packer_lazy_load "nvim-lspconfig"
|
require("core.utils").packer_lazy_load "nvim-lspconfig"
|
||||||
-- reload the current file so lsp actually starts for it
|
-- reload the current file so lsp actually starts for it
|
||||||
|
@ -112,7 +110,6 @@ local plugins = {
|
||||||
},
|
},
|
||||||
|
|
||||||
["andymass/vim-matchup"] = {
|
["andymass/vim-matchup"] = {
|
||||||
opt = true,
|
|
||||||
setup = function()
|
setup = function()
|
||||||
require("core.utils").packer_lazy_load "vim-matchup"
|
require("core.utils").packer_lazy_load "vim-matchup"
|
||||||
end,
|
end,
|
||||||
|
@ -184,7 +181,7 @@ local plugins = {
|
||||||
|
|
||||||
["numToStr/Comment.nvim"] = {
|
["numToStr/Comment.nvim"] = {
|
||||||
module = "Comment",
|
module = "Comment",
|
||||||
keys = { "gcc" },
|
keys = { "gc", "gb" },
|
||||||
|
|
||||||
setup = function()
|
setup = function()
|
||||||
require("core.mappings").comment()
|
require("core.mappings").comment()
|
||||||
|
|
Loading…
Reference in New Issue