diff options
Diffstat (limited to '')
-rw-r--r-- | lua/core/plugins.lua | 176 |
1 files changed, 78 insertions, 98 deletions
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index 2844d8a..e15d93b 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -1,111 +1,70 @@ --- 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{ - { 'tamton-aquib/essentials.nvim' }, +require 'dep' { + -- dep manages dep ---------------------------------------------------------- + { 'squibid/dep', + url = 'https://git.squi.bid/dep', + branch = 'dev' + }, - -- only the most useless plugins (some of these are also ui related) - { 'goolord/alpha-nvim' }, - { 'petertriho/nvim-scrollbar' }, - { 'alec-gibson/nvim-tetris' }, - { 'kwakzalver/duckytype.nvim', config = true }, -- like monkey type - { 'melkster/modicator.nvim' }, - { 'nyngwang/murmur.lua', config = true }, - { 'potamides/pantran.nvim' }, - -- + -- preformance -------------------------------------------------------------- + { 'lewis6991/impatient.nvim' }, - -- colorscheme / ui - { 'metalelf0/jellybeans-nvim', - dependencies = 'rktjmp/lush.nvim', - lazy = false, - priority = 1000, - }, - { 'nvim-lualine/lualine.nvim' }, - { 'utilyre/barbecue.nvim', - version = '*', - dependencies = { - 'SmiteshP/nvim-navic', - }, - config = true, - }, - { 'lukas-reineke/indent-blankline.nvim' }, - { 'lewis6991/gitsigns.nvim', config = true, }, - { 'chentoast/marks.nvim', config = true, }, - { 'folke/which-key.nvim' }, - { 'mrjones2014/smart-splits.nvim', - dependencies = { 'kwkarlwang/bufresize.nvim', config = true, }, + -- ui ----------------------------------------------------------------------- + { 'kvrohit/mellow.nvim' }, -- colorscheme + { 'lukas-reineke/indent-blankline.nvim' }, -- indentation indicators + { 'folke/which-key.nvim' }, -- key map help + { 'rcarriga/nvim-notify' }, -- notifications + { 'tjdevries/express_line.nvim', -- status bar + requires = 'nvim-lua/plenary.nvim', }, - { 'rcarriga/nvim-notify' }, - { 'CosmicNvim/cosmic-ui', - dependencies = { 'MunifTanjim/nui.nvim' }, - config = true, + { 'alvarosevilla95/luatab.nvim' }, -- tabline + { 'goolord/alpha-nvim' }, -- start page + { 'dinhhuy258/sfm.nvim', -- tree view + requires = 'dinhhuy258/sfm-git.nvim', }, - { 'dinhhuy258/sfm.nvim', - dependencies = { 'dinhhuy258/sfm-git.nvim' } - }, - -- + { 'mrjones2014/smart-splits.nvim'}, -- buffer resizing + { 'axieax/urlview.nvim' }, -- view urls in current buffer + { 'matbme/JABS.nvim' }, -- buffer switcher + { 'ziontee113/icon-picker.nvim' }, -- icons + { 'petertriho/nvim-scrollbar' }, - -- careful the following plugins might be considered useful proceed with caution - -- muh fzf + -- functional plugins ------------------------------------------------------- + { 'lewis6991/gitsigns.nvim' }, + { 'chentoast/marks.nvim' }, + { 'pta2002/intellitab.nvim' }, + { 'mbbill/undotree' }, -- careful this one is written in vimscript + { 'windwp/nvim-autopairs' }, + { 'numToStr/Comment.nvim' }, + { 'jghauser/mkdir.nvim' }, -- mkdir's when they dont exist + { 'numtostr/BufOnly.nvim' }, -- kill the other buffers with :BufOnly + { 'ahmedkhalf/project.nvim' }, -- cd into root of project + { 'akinsho/toggleterm.nvim' }, + + -- note taking -------------------------------------------------------------- + { 'nvim-neorg/neorg' }, + + -- fzf ---------------------------------------------------------------------- { 'nvim-telescope/telescope.nvim', - version = '0.1.*', - dependencies = { + requires = 'nvim-lua/plenary.nvim', + deps = { 'nvim-telescope/telescope-file-browser.nvim', 'nvim-telescope/telescope-ui-select.nvim', - 'nvim-lua/plenary.nvim', - 'debugloop/telescope-undo.nvim', 'AckslD/nvim-neoclip.lua', } }, - -- - - -- movement - { 'pta2002/intellitab.nvim' }, - -- - - -- debugging - { 'numToStr/Comment.nvim', config = true, }, - { 'folke/trouble.nvim' }, - { 'folke/todo-comments.nvim', config = true, }, - { 'akinsho/toggleterm.nvim', version = '*' }, - -- - -- project stuff - { 'sindrets/diffview.nvim', config = true, }, - { 'notjedi/nvim-rooter.lua', config = true, }, - -- - - -- notes - { 'jbyuki/venn.nvim' }, - { 'nvim-neorg/neorg', - version = '*', - ft = 'norg', - build = ':Neorg sync-parsers', - }, - { 'loqusion/true-zen.nvim' }, - { 'Pocco81/high-str.nvim' }, - -- - - -- cmp, lsp and syntax + -- treesitter + colorizing -------------------------------------------------- { 'nvim-treesitter/nvim-treesitter', - dependencies = { - { 'm-demare/hlargs.nvim', config = true }, - 'Wansmer/treesj', + deps = { + { 'm-demare/hlargs.nvim' }, + { 'Wansmer/treesj' }, + { 'nvim-treesitter/nvim-treesitter-context' }, } }, - { 'lewis6991/hover.nvim' }, - { 'nvchad/nvim-colorizer.lua' }, - { 'VonHeikemen/lsp-zero.nvim' }, + { 'NvChad/nvim-colorizer.lua' }, + + -- cmp ---------------------------------------------------------------------- { 'hrsh7th/nvim-cmp', - dependencies = { + deps = { 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-path', 'hrsh7th/cmp-calc', @@ -116,14 +75,35 @@ require('lazy').setup{ 'onsails/lspkind.nvim', }, }, + { 'ray-x/lsp_signature.nvim' }, + + -- snippets ----------------------------------------------------------------- { 'L3MON4D3/LuaSnip', - version = 'v1.*', - dependencies = 'rafamadriz/friendly-snippets', + deps = 'rafamadriz/friendly-snippets', }, { 'doxnit/cmp-luasnip-choice' }, + + -- lsp ---------------------------------------------------------------------- { 'neovim/nvim-lspconfig' }, - { 'williamboman/mason.nvim' }, - { 'williamboman/mason-lspconfig.nvim' }, - { 'windwp/nvim-autopairs', config = true, }, - -- + { 'j-hui/fidget.nvim' }, -- shows lsp progress + { 'folke/trouble.nvim' }, + + -- optional language specific lsp's + -- { 'mfussenegger/nvim-jdtls' }, + + -- dap ---------------------------------------------------------------------- + { 'mfussenegger/nvim-dap', + deps = { + 'rcarriga/nvim-dap-ui', + } + }, + + -- dap + lsp + linter + formatter installer --------------------------------- + { 'williamboman/mason.nvim', + deps = { + { 'WhoIsSethDaniel/mason-tool-installer.nvim' }, + { 'williamboman/mason-lspconfig.nvim' }, + { 'jay-babu/mason-nvim-dap.nvim' }, + }, + }, } |