54 lines
1.6 KiB
Lua
54 lines
1.6 KiB
Lua
vim.loader.enable()
|
|
|
|
local log = require("log")
|
|
|
|
local files = {
|
|
"autocommands",
|
|
"commands",
|
|
"filetypes",
|
|
"globals",
|
|
"mappings",
|
|
"options",
|
|
}
|
|
|
|
for _, file in ipairs(files) do
|
|
local pkg = "core." .. file
|
|
local ok, err = pcall(require, pkg)
|
|
if not ok then
|
|
log.error("Error while loading package " .. pkg)
|
|
log.error(err)
|
|
return
|
|
end
|
|
end
|
|
|
|
require("plugin").setup({
|
|
"https://github.com/navarasu/onedark.nvim",
|
|
"https://github.com/nvim-lua/plenary.nvim",
|
|
"https://github.com/rcarriga/nvim-notify",
|
|
"https://github.com/debugloop/telescope-undo.nvim",
|
|
{
|
|
"https://github.com/nvim-telescope/telescope-fzf-native.nvim",
|
|
build = { "make" },
|
|
},
|
|
"https://github.com/nvim-telescope/telescope.nvim",
|
|
{
|
|
"https://github.com/saghen/blink.cmp",
|
|
version = vim.version.range("^1"),
|
|
},
|
|
"https://github.com/neovim/nvim-lspconfig",
|
|
"https://github.com/mason-org/mason.nvim",
|
|
"https://github.com/owallb/mason-auto-install.nvim",
|
|
"https://github.com/mfussenegger/nvim-dap",
|
|
"https://github.com/igorlfs/nvim-dap-view",
|
|
"https://github.com/nvim-treesitter/nvim-treesitter",
|
|
"https://github.com/numToStr/Comment.nvim",
|
|
"https://github.com/j-hui/fidget.nvim",
|
|
"https://github.com/rbong/vim-flog",
|
|
"https://github.com/tpope/vim-fugitive",
|
|
"https://github.com/lewis6991/gitsigns.nvim",
|
|
"https://github.com/MagicDuck/grug-far.nvim",
|
|
"https://github.com/nvim-tree/nvim-tree.lua",
|
|
"https://github.com/stevearc/oil.nvim",
|
|
"https://github.com/hedyhli/outline.nvim",
|
|
})
|