2022-04-23 03:41:04 +02:00
|
|
|
require("utils.install-packer")
|
2021-10-11 18:02:04 +02:00
|
|
|
|
2021-08-19 17:04:46 +02:00
|
|
|
local u = require("utils")
|
2022-04-25 16:23:14 +02:00
|
|
|
if u.has_plugin("packer") then
|
2022-04-23 03:41:04 +02:00
|
|
|
local packer = require("packer")
|
|
|
|
packer.init {
|
|
|
|
display = {
|
|
|
|
open_fn = function()
|
|
|
|
return require("packer.util").float { border = "rounded" }
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2022-04-25 16:23:14 +02:00
|
|
|
require "core.plugins"
|
|
|
|
require "impatient"
|
|
|
|
|
|
|
|
require "core.options"
|
|
|
|
require "core.autocommands"
|
|
|
|
require "core.keymappings"
|
|
|
|
require "core.theme"
|
|
|
|
|
|
|
|
require "configs.dashboard"
|
2022-04-23 03:41:04 +02:00
|
|
|
require "configs.command-center"
|
|
|
|
require "configs.notify"
|
|
|
|
require "configs.lsp"
|
|
|
|
require "configs.lspinstaller"
|
|
|
|
require "configs.telescope"
|
|
|
|
require "configs.tree"
|
|
|
|
require "configs.treesitter"
|
|
|
|
require "configs.autocomplete"
|
2022-04-25 16:23:14 +02:00
|
|
|
require "configs.snippets"
|
2022-04-23 03:41:04 +02:00
|
|
|
|
2022-04-25 16:23:14 +02:00
|
|
|
require "overlays"
|
2022-04-23 03:41:04 +02:00
|
|
|
|
2022-04-25 16:23:14 +02:00
|
|
|
require "nvim-autopairs".setup()
|
2021-08-19 17:24:36 +02:00
|
|
|
else
|
2022-04-23 03:41:04 +02:00
|
|
|
vim.cmd [[PackerSync]]
|
|
|
|
vim.cmd [[echo Installed -> Reload]]
|
2021-08-31 21:22:57 +02:00
|
|
|
end
|