Re-arrange neovim config

This commit is contained in:
2023-09-28 10:26:46 -04:00
parent 3896bab4fb
commit 35a5cf15c5
11 changed files with 43 additions and 890 deletions

View File

@@ -1,4 +1,4 @@
-- Plugins
-- Bootstrap Lazy.
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
@@ -12,15 +12,22 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
require("lazy").setup(
'user.plugin-config',
{
dev = {
path = '~/LocalProjects/plugins',
fallback = true
}
}
)
require("lazy").setup({
dev = {
path = '~/LocalProjects/plugins',
fallback = true
},
{ import = 'user.plugin.cmp' },
{ import = 'user.plugin.diffview' },
{ import = 'user.plugin.lsp' },
{ import = 'user.plugin.lualine' },
{ import = 'user.plugin.neogit' },
{ import = 'user.plugin.neo-tree' },
{ import = 'user.plugin.swift' },
{ import = 'user.plugin.telescope' },
{ import = 'user.plugin.theme' },
{ import = 'user.plugin.toggleterm' },
{ import = 'user.plugin.treesitter' },
{ import = 'user.plugin.which-key' },
{ import = 'user.plugin.wrapping' },
})