diff options
author | Squibid <me@zacharyscheiman.com> | 2022-12-30 12:42:17 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2022-12-30 12:42:17 -0500 |
commit | eaa58ff6184e6b0bb3abf03d2314864795a13fbd (patch) | |
tree | 01c211d0c668d90da20b2c6a678b9d40b09ff20f /core/plugins.lua | |
parent | 65a03860fbf2216efd8f24e295c70e8027608d72 (diff) | |
download | nvim-eaa58ff6184e6b0bb3abf03d2314864795a13fbd.tar.gz nvim-eaa58ff6184e6b0bb3abf03d2314864795a13fbd.tar.bz2 nvim-eaa58ff6184e6b0bb3abf03d2314864795a13fbd.zip |
reorganize to multi file config and switch to lazy.nvim for plugins
Diffstat (limited to 'core/plugins.lua')
-rw-r--r-- | core/plugins.lua | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/core/plugins.lua b/core/plugins.lua new file mode 100644 index 0000000..306d106 --- /dev/null +++ b/core/plugins.lua @@ -0,0 +1,71 @@ +-- make sure lazy is installed +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ "git", "clone", "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", lazypath }) + vim.fn.system({ "git", "-C", lazypath, "checkout", "tags/stable" }) + end +end +vim.opt.rtp:prepend(lazypath) + +require('lazy').setup({ + { 'metalelf0/jellybeans-nvim', + dependencies = 'rktjmp/lush.nvim', + lazy = false, + priority = 1000, + }, + { 'lukas-reineke/indent-blankline.nvim' }, + { 'nvim-lualine/lualine.nvim' }, + { 'nvim-telescope/telescope.nvim', + version = '0.1.*', + dependencies = { + 'nvim-lua/plenary.nvim', + 'debugloop/telescope-undo.nvim', + } + }, + { 'gorbit99/codewindow.nvim' }, + { 'melkster/modicator.nvim' }, + { 'numToStr/Comment.nvim', config = true, }, + { 'jbyuki/venn.nvim' }, + { 'nvim-neorg/neorg', + version = '*', + ft = 'norg', + build = ':Neorg sync-parsers', + dependencies = 'nvim-lua/plenary.nvim', + }, + { 'folke/which-key.nvim' }, + { 'AckslD/nvim-neoclip.lua' }, + { 'mrjones2014/smart-splits.nvim', + dependencies = { 'kwkarlwang/bufresize.nvim', config = true, }, + }, + { 'lewis6991/gitsigns.nvim', config = true, }, + { 'chentoast/marks.nvim', config = true, }, + { 'nvim-treesitter/nvim-treesitter', + dependencies = 'nvim-treesitter/nvim-treesitter-context' + }, + { 'nvchad/nvim-colorizer.lua' }, + { 'folke/trouble.nvim' }, + { 'VonHeikemen/lsp-zero.nvim' }, + { 'hrsh7th/nvim-cmp', + dependencies = { + 'hrsh7th/cmp-buffer', + 'hrsh7th/cmp-path', + 'hrsh7th/cmp-calc', + 'saadparwaiz1/cmp_luasnip', + 'hrsh7th/cmp-nvim-lua', + 'hrsh7th/cmp-nvim-lsp', + 'lukas-reineke/cmp-under-comparator', + 'onsails/lspkind.nvim', + }, + }, + { 'L3MON4D3/LuaSnip', + version = 'v1.*', + dependencies = 'rafamadriz/friendly-snippets', + }, + { 'doxnit/cmp-luasnip-choice' }, + { 'neovim/nvim-lspconfig' }, + { 'williamboman/mason.nvim' }, + { 'williamboman/mason-lspconfig.nvim' }, + { 'windwp/nvim-autopairs', config = true, }, +}) |