mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Re-arrange neovim config
This commit is contained in:
@@ -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' },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user