Switch to Lazy.nvim

This commit is contained in:
Thomas Avé 2023-07-19 13:38:30 +02:00
parent 04f315c7a7
commit 8be5663d93
2 changed files with 87 additions and 52 deletions

37
nvim/lazy-lock.json Normal file
View File

@ -0,0 +1,37 @@
{
"Comment.nvim": { "branch": "master", "commit": "176e85eeb63f1a5970d6b88f1725039d85ca0055" },
"awesomewm-vim-tmux-navigator": { "branch": "master", "commit": "e448723a099a4a702830ffa73791bf5e99b5ef69" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"editorconfig.nvim": { "branch": "master", "commit": "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf" },
"friendly-snippets": { "branch": "main", "commit": "ea84a710262cb2c286d439070bad37d36fd3db25" },
"lazy.nvim": { "branch": "main", "commit": "14d76aac4bd3ff07c1fca074c210f28f766a931e" },
"leap.nvim": { "branch": "main", "commit": "7eeeb3ff74ff8cabd583a061492e76c1c6d2bac8" },
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
"lush.nvim": { "branch": "main", "commit": "b10ef2bfff0647e701b691019ade3edd5e44eb50" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "828a538ac8419f586c010996aefa5df6eb7c250b" },
"mason.nvim": { "branch": "main", "commit": "5ad3e113b0c3fde3caba8630599373046f6197e8" },
"neogit": { "branch": "master", "commit": "3d63d76f04dc7102c83a057ded30a93822b59dec" },
"nvim-autopairs": { "branch": "master", "commit": "ae5b41ce880a6d850055e262d6dfebd362bb276e" },
"nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" },
"nvim-lspconfig": { "branch": "master", "commit": "447443a2404adc323ad2efc7c0a346a904ce694c" },
"nvim-tree.lua": { "branch": "master", "commit": "59e65d88db177ad1e6a8cffaafd4738420ad20b6" },
"nvim-treesitter": { "branch": "master", "commit": "9fa6806b88905d52b5ca36094909630919b432cc" },
"nvim-web-devicons": { "branch": "master", "commit": "efbfed0567ef4bfac3ce630524a0f6c8451c5534" },
"plenary.nvim": { "branch": "master", "commit": "267282a9ce242bbb0c5dc31445b6d353bed978bb" },
"supertab": { "branch": "master", "commit": "f0093ae12a9115498f887199809a6114659fc858" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" },
"telescope.nvim": { "branch": "master", "commit": "47c755d737702df7a39b640c8d9c473a728be1df" },
"trim.nvim": { "branch": "master", "commit": "2df124c2c2844d3143091ebd3ae8b49bbe06bc5e" },
"trouble.nvim": { "branch": "main", "commit": "20d1b30d6925213abece21d35858a16e11d1e9fc" },
"undotree": { "branch": "master", "commit": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131" },
"vim-bracketed-paste": { "branch": "master", "commit": "45411da73cc159e4fc2138d930553d247bbfbcdc" },
"vim-python-pep8-indent": { "branch": "master", "commit": "60ba5e11a61618c0344e2db190210145083c91f8" },
"vim-rooter": { "branch": "master", "commit": "4f52ca556a0b9e257bf920658714470ea0320b7a" },
"vim-vsnip": { "branch": "master", "commit": "7753ba9c10429c29d25abfd11b4c60b76718c438" },
"vim-vsnip-integ": { "branch": "master", "commit": "1914e72cf3de70df7f5dde476cd299aba2440aef" },
"vimtex": { "branch": "master", "commit": "5e50cc0e96e8a8ffc6fd10d627d65b8d1354b5da" },
"vimwiki": { "branch": "dev", "commit": "09804c2a5f1009fde29e32c5f3a6093e4684433a" }
}

View File

@ -1,52 +1,50 @@
require('packer').startup(function(use)
use 'mbbill/undotree'
use 'nvim-tree/nvim-web-devicons'
use 'airblade/vim-rooter'
use "rafamadriz/friendly-snippets"
use 'ConradIrwin/vim-bracketed-paste'
use 'Vimjas/vim-python-pep8-indent'
use 'cappyzawa/trim.nvim'
use '~/.config/nvim/colorschemes/material'
use 'gpanders/editorconfig.nvim'
use 'ervandew/supertab'
use 'williamboman/mason.nvim'
use 'williamboman/mason-lspconfig.nvim'
use 'ggandor/leap.nvim'
use 'hrsh7th/cmp-buffer'
use 'hrsh7th/cmp-cmdline'
use 'hrsh7th/cmp-nvim-lsp'
use 'hrsh7th/cmp-path'
use 'hrsh7th/nvim-cmp'
use 'hrsh7th/vim-vsnip'
use 'hrsh7th/vim-vsnip-integ'
use "rktjmp/lush.nvim"
use 'lervag/vimtex'
use 'neovim/nvim-lspconfig'
use 'numToStr/Comment.nvim'
use 'vimwiki/vimwiki'
use 'intrntbrn/awesomewm-vim-tmux-navigator'
use 'wbthomason/packer.nvim'
use 'windwp/nvim-autopairs'
use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim' }
use {'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons', opt = true }}
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'}
use {'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}}}
use {
'nvim-treesitter/nvim-treesitter',
run = function()
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
ts_update()
end,
}
use {
"folke/trouble.nvim",
requires = "kyazdani42/nvim-web-devicons"
}
use {
'kyazdani42/nvim-tree.lua',
requires = {
'kyazdani42/nvim-web-devicons', -- optional, for file icons
},
tag = 'nightly' -- optional, updated every week. (see issue #1193)
}
end)
-- Install Lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
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',
'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",
'lervag/vimtex',
'neovim/nvim-lspconfig',
'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"},
{"folke/trouble.nvim", dependencies = {"nvim-tree/nvim-web-devicons"}},
{'nvim-tree/nvim-tree.lua', dependencies = {'nvim-tree/nvim-web-devicons'}, tag = 'nightly'},
{dir = '~/.config/nvim/colorschemes/material'},
})