mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim: restructure plugin loading.
This commit is contained in:
parent
aed64ca4a0
commit
ae10df6e2c
3 changed files with 8 additions and 6 deletions
|
|
@ -17,10 +17,7 @@ vim.opt.rtp:prepend(lazypath)
|
|||
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
{ import = "user.plugins.core" },
|
||||
{ import = "user.plugins.ui" },
|
||||
{ import = "user.plugins.editor" },
|
||||
{ import = "user.plugins.lsp" },
|
||||
{ import = "user.plugins" },
|
||||
|
||||
-- Language specific
|
||||
{ import = "user.plugins.lang.lua" },
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
{ import = "user.plugins.editor.treesitter" },
|
||||
"echasnovski/mini.bufremove",
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
|
|
@ -77,6 +78,7 @@ return {
|
|||
}
|
||||
end,
|
||||
},
|
||||
{ import = "user.plugins.editor.gitsigns" },
|
||||
-- Formatting
|
||||
{
|
||||
'stevearc/conform.nvim',
|
||||
|
|
@ -90,6 +92,8 @@ return {
|
|||
user.formatter = ":lua require'conform'.format({ async = true })<CR>:<DEL>"
|
||||
end
|
||||
},
|
||||
{ import = "user.plugins.editor.fuzzyfinder" },
|
||||
{ import = "user.plugins.editor.autocomplete" },
|
||||
-- Snippets
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
return {
|
||||
{ import = "user.plugins.ui.statusline" },
|
||||
-- File explorer
|
||||
{ import = "user.plugins.ui.neotree" },
|
||||
-- Nicer notifications
|
||||
{
|
||||
"j-hui/fidget.nvim",
|
||||
|
|
@ -17,8 +20,6 @@ return {
|
|||
}
|
||||
}
|
||||
},
|
||||
-- File explorer
|
||||
{ import = "user.plugins.ui.neotree" },
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue