From e38c1c3263e28a62abae4241a92852c6a915a6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Wed, 19 Jul 2023 13:47:26 +0200 Subject: [PATCH] Better organize dependencies --- nvim/lazy-lock.json | 2 +- nvim/lua/plugins.lua | 34 ++++++++++++---------------------- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 4498d6b..be610c8 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -7,7 +7,7 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "editorconfig.nvim": { "branch": "master", "commit": "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf" }, "friendly-snippets": { "branch": "main", "commit": "ea84a710262cb2c286d439070bad37d36fd3db25" }, - "lazy.nvim": { "branch": "main", "commit": "14d76aac4bd3ff07c1fca074c210f28f766a931e" }, + "lazy.nvim": { "branch": "main", "commit": "25beed5e2e935ebc00d7e3eed1dc502df3c40e39" }, "leap.nvim": { "branch": "main", "commit": "7eeeb3ff74ff8cabd583a061492e76c1c6d2bac8" }, "lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" }, "lush.nvim": { "branch": "main", "commit": "b10ef2bfff0647e701b691019ade3edd5e44eb50" }, diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 6ce3c50..821efb0 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -13,38 +13,28 @@ end vim.opt.rtp:prepend(lazypath) require('lazy').setup({ - 'mbbill/undotree', - 'nvim-tree/nvim-web-devicons', - 'airblade/vim-rooter', "rafamadriz/friendly-snippets", 'ConradIrwin/vim-bracketed-paste', 'Vimjas/vim-python-pep8-indent', + 'airblade/vim-rooter', 'cappyzawa/trim.nvim', - 'gpanders/editorconfig.nvim', 'ervandew/supertab', - 'williamboman/mason.nvim', - 'williamboman/mason-lspconfig.nvim', 'ggandor/leap.nvim', - 'hrsh7th/cmp-buffer', - 'hrsh7th/cmp-cmdline', - 'hrsh7th/cmp-nvim-lsp', - 'hrsh7th/cmp-path', - 'hrsh7th/nvim-cmp', - 'hrsh7th/vim-vsnip', - 'hrsh7th/vim-vsnip-integ', - "rktjmp/lush.nvim", + 'gpanders/editorconfig.nvim', + 'intrntbrn/awesomewm-vim-tmux-navigator', 'lervag/vimtex', - 'neovim/nvim-lspconfig', + 'mbbill/undotree', 'numToStr/Comment.nvim', 'vimwiki/vimwiki', - 'intrntbrn/awesomewm-vim-tmux-navigator', 'windwp/nvim-autopairs', - { 'TimUntersberger/neogit', dependencies = {'nvim-lua/plenary.nvim'} }, - {'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', opt = true }}, - { 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }, - {'nvim-telescope/telescope.nvim', dependencies = {'nvim-lua/plenary.nvim'}}, - {"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"}, + {'williamboman/mason-lspconfig.nvim', dependencies = {'williamboman/mason.nvim', 'neovim/nvim-lspconfig'}}, {"folke/trouble.nvim", dependencies = {"nvim-tree/nvim-web-devicons"}}, + {"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"}, + {'TimUntersberger/neogit', dependencies = {'nvim-lua/plenary.nvim'} }, + {'hrsh7th/nvim-cmp', dependencies = {'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-path', 'hrsh7th/vim-vsnip', 'hrsh7th/vim-vsnip-integ'}}, + {'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', opt = true }}, + {'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }, + {'nvim-telescope/telescope.nvim', dependencies = {'nvim-lua/plenary.nvim'}}, {'nvim-tree/nvim-tree.lua', dependencies = {'nvim-tree/nvim-web-devicons'}, tag = 'nightly'}, - {dir = '~/.config/nvim/colorschemes/material'}, + {dir = '~/.config/nvim/colorschemes/material', dependencies= {"rktjmp/lush.nvim"}}, })