From 423133102d96556d121a97689be1f4f6542e320c Mon Sep 17 00:00:00 2001 From: Nanderty Date: Thu, 16 Mar 2023 19:34:12 +0100 Subject: wechsel auf lazy --- lua/Nanderty/lazy.lua | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 lua/Nanderty/lazy.lua (limited to 'lua/Nanderty/lazy.lua') diff --git a/lua/Nanderty/lazy.lua b/lua/Nanderty/lazy.lua new file mode 100644 index 0000000..6315de3 --- /dev/null +++ b/lua/Nanderty/lazy.lua @@ -0,0 +1,70 @@ +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) + +vim.g.mapleader = " " + +require("lazy").setup({ + +{'lervag/vimtex', module=false}, + +{ 'echasnovski/mini.nvim', version = false }, + +'tpope/vim-fugitive', +'ludovicchabant/vim-gutentags', +'sbdchd/neoformat', +'neomake/neomake', + +{ + 'nvim-telescope/telescope.nvim', version = '0.1.1', + dependencies = { 'nvim-lua/plenary.nvim' } +}, + +'lewis6991/gitsigns.nvim', +'nvim-tree/nvim-tree.lua', + +{ + 'akinsho/bufferline.nvim', version = "v3.*", + dependencies = 'nvim-tree/nvim-web-devicons' +}, + +'nvim-lualine/lualine.nvim', +{ + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate' +}, +'lukas-reineke/indent-blankline.nvim', +'navarasu/onedark.nvim'; + +{ + 'VonHeikemen/lsp-zero.nvim', + branch = 'v1.x', + dependencies = { + -- LSP Support + {'neovim/nvim-lspconfig'}, -- Required + {'williamboman/mason.nvim'}, -- Optional + {'williamboman/mason-lspconfig.nvim'}, -- Optional + + -- Autocompletion + {'hrsh7th/nvim-cmp'}, -- Required + {'hrsh7th/cmp-nvim-lsp'}, -- Required + {'hrsh7th/cmp-buffer'}, -- Optional + {'hrsh7th/cmp-path'}, -- Optional + {'saadparwaiz1/cmp_luasnip'}, -- Optional + {'hrsh7th/cmp-nvim-lua'}, -- Optional + + -- Snippets + {'L3MON4D3/LuaSnip'}, -- Required + } +}, + +}) -- cgit v1.2.3