This commit is contained in:
siduck 2022-05-30 12:33:46 +05:30
parent fd96f4ddbd
commit 59de298d8f
3 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,7 @@ end
require "core" require "core"
require "core.utils" require "core.utils"
require "core.options" require "core.options"
require("core.utils").load_mappings()
-- setup packer + plugins -- setup packer + plugins
require("core.packer").bootstrap() require("core.packer").bootstrap()

View File

@ -44,7 +44,6 @@ local mapping_groups = { groups = vim.deepcopy(mappings.groups) }
mappings.disabled = nil mappings.disabled = nil
mappings.groups = nil mappings.groups = nil
utils.load_mappings()
utils.load_mappings(mapping_groups) utils.load_mappings(mapping_groups)
wk.setup(options) wk.setup(options)

View File

@ -1,4 +1,3 @@
local plugins = { local plugins = {
["nvim-lua/plenary.nvim"] = {}, ["nvim-lua/plenary.nvim"] = {},
@ -74,7 +73,7 @@ local plugins = {
end, end,
setup = function() setup = function()
require("core.utils").packer_lazy_load "gitsigns.nvim" require("core.utils").packer_lazy_load "gitsigns.nvim"
end end,
}, },
-- lsp stuff -- lsp stuff
@ -110,7 +109,7 @@ local plugins = {
opt = true, opt = true,
setup = function() setup = function()
require("core.utils").packer_lazy_load "vim-matchup" require("core.utils").packer_lazy_load "vim-matchup"
end end,
}, },
["max397574/better-escape.nvim"] = { ["max397574/better-escape.nvim"] = {