diff options
Diffstat (limited to 'lua/Nanderty')
| -rw-r--r-- | lua/Nanderty/lazy.lua | 70 | ||||
| -rw-r--r-- | lua/Nanderty/plug.lua | 33 |
2 files changed, 70 insertions, 33 deletions
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 + } +}, + +}) diff --git a/lua/Nanderty/plug.lua b/lua/Nanderty/plug.lua deleted file mode 100644 index 1c778a0..0000000 --- a/lua/Nanderty/plug.lua +++ /dev/null @@ -1,33 +0,0 @@ -local Plug = vim.fn['plug#'] -vim.call('plug#begin', vim.fn.stdpath('data')..'/Plugged') - -Plug 'echasnovski/mini.nvim' - -Plug 'tpope/vim-fugitive' -Plug 'ludovicchabant/vim-gutentags' -Plug 'sbdchd/neoformat' -Plug 'neomake/neomake' - -Plug 'nvim-lua/plenary.nvim' -Plug('nvim-telescope/telescope.nvim', {branch = '0.1.x'}) -Plug('akinsho/bufferline.nvim', {tag = 'v3.*'}) -Plug 'nvim-lualine/lualine.nvim' -Plug 'kyazdani42/nvim-web-devicons' -Plug('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) -Plug 'navarasu/onedark.nvim' - -Plug 'lervag/vimtex' -Plug 'neovim/nvim-lspconfig' -Plug 'williamboman/mason.nvim' -Plug 'williamboman/mason-lspconfig.nvim' - -Plug 'hrsh7th/cmp-nvim-lsp' -Plug 'hrsh7th/cmp-buffer' -Plug 'hrsh7th/cmp-path' -Plug 'hrsh7th/cmp-cmdline' -Plug 'hrsh7th/nvim-cmp' - -Plug 'L3MON4D3/LuaSnip' -Plug 'saadparwaiz1/cmp_luasnip' - -vim.call('plug#end') |
