summaryrefslogtreecommitdiffstats
path: root/lua/core/plugins.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-10-22 18:17:21 -0400
committerSquibid <me@zacharyscheiman.com>2023-10-22 18:17:21 -0400
commit01729e261340a4462a57bf80f6e591c1371ae996 (patch)
tree67b6488d097ac04cb5d27d794b530ee15ce65593 /lua/core/plugins.lua
parente522d7d3faa895c2722113b316d4fc8203158996 (diff)
downloadnvim-01729e261340a4462a57bf80f6e591c1371ae996.tar.gz
nvim-01729e261340a4462a57bf80f6e591c1371ae996.tar.bz2
nvim-01729e261340a4462a57bf80f6e591c1371ae996.zip
kitchen sink:
- add code action previews - change indent blankline style - more luasnip snippets - change default mason stuff - customize neorg more - change notify style - change startpage completely - add line info to statusline - change telescope style - change how todo comments look - make indentation work via treesitter
Diffstat (limited to 'lua/core/plugins.lua')
-rw-r--r--lua/core/plugins.lua80
1 files changed, 47 insertions, 33 deletions
diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua
index a22bed4..106e73d 100644
--- a/lua/core/plugins.lua
+++ b/lua/core/plugins.lua
@@ -16,8 +16,9 @@ require 'dep' {
-- { 'andweeb/presence.nvim' },
-- colorschemes -------------------------------------------------------------
- { 'kvrohit/mellow.nvim' },
- { 'rockerBOO/boo-colorscheme-nvim' },
+ { 'kvrohit/mellow.nvim',
+ requires = 'nvim-treesitter/nvim-treesitter'
+ },
-- ui -----------------------------------------------------------------------
{ 'lukas-reineke/indent-blankline.nvim' }, -- indentation indicators
@@ -28,35 +29,41 @@ require 'dep' {
},
{ 'goolord/alpha-nvim' }, -- start page
{ 'dinhhuy258/sfm.nvim', -- tree view
- requires = 'dinhhuy258/sfm-git.nvim',
+ deps = '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' }, -- scrollbar
- -- { 'lewis6991/satellite.nvim' }, -- new scrollbar for nvim 0.10
- { 'pocco81/true-zen.nvim' }, -- focus on the current thing
{ 'tomiis4/Hypersonic.nvim' }, -- regex helper/displayer
- { 'lewis6991/cleanfold.nvim' }, -- nice fold line
- { 'yaocccc/nvim-foldsign' }, -- fold sign in gutter
-
-- functional plugins -------------------------------------------------------
- { 'lewis6991/gitsigns.nvim' },
- { 'chentoast/marks.nvim' },
- { 'pta2002/intellitab.nvim' },
+ { 'lewis6991/gitsigns.nvim' }, -- very helpful git things
+ { 'squibid/git-yodel', -- git cache diff preview when in commit buffer
+ url = 'https://git.squi.bid/git-yodel'
+ },
+ { 'chentoast/marks.nvim' }, -- marks in gutter
+ { 'pta2002/intellitab.nvim' }, -- better tabbing into indents
{ 'mbbill/undotree' }, -- careful this one is written in vimscript
+ { 'dhruvasagar/vim-table-mode' }, -- same with this one
{ 'windwp/nvim-autopairs' },
{ 'numToStr/Comment.nvim' },
- { 'numtostr/BufOnly.nvim' }, -- kill the other buffers with :BufOnly
{ 'ahmedkhalf/project.nvim' }, -- cd into root of project
- { 'akinsho/toggleterm.nvim' },
- { 'chomosuke/term-edit.nvim' }, -- full vim keybinds in terminals
+ { 'akinsho/toggleterm.nvim' }, -- TODO: switch to tmux based popup terminal
+ { 'mrjones2014/smart-splits.nvim'}, -- buffer resizing
-- note taking --------------------------------------------------------------
- { 'nvim-neorg/neorg' },
- { 'nvim-neorg/neorg-telescope' },
+ { 'nvim-neorg/neorg',
+ config = function()
+ if package.loaded['nvim-treesitter'] then
+ vim.cmd(':Neorg sync-parsers<CR>')
+ end
+ end,
+ requires = {
+ 'nvim-lua/plenary.nvim',
+ 'nvim-treesitter/nvim-treesitter'
+ },
+ deps = 'nvim-neorg/neorg-telescope'
+ },
+
+ { 'jbyuki/venn.nvim' },
-- fzf ----------------------------------------------------------------------
{ 'nvim-telescope/telescope.nvim',
@@ -64,19 +71,23 @@ require 'dep' {
deps = {
'nvim-telescope/telescope-file-browser.nvim',
'nvim-telescope/telescope-ui-select.nvim',
- 'AckslD/nvim-neoclip.lua',
+ 'nvim-telescope/telescope-symbols.nvim',
+ 'axieax/urlview.nvim',
}
},
-- treesitter + colorizing --------------------------------------------------
{ 'nvim-treesitter/nvim-treesitter',
deps = {
- { 'm-demare/hlargs.nvim' },
- { 'Wansmer/treesj' },
- { 'nvim-treesitter/nvim-treesitter-context' },
+ 'm-demare/hlargs.nvim',
+ 'Wansmer/treesj',
+ 'nvim-treesitter/nvim-treesitter-context',
}
},
{ 'NvChad/nvim-colorizer.lua' },
+ { 'folke/todo-comments.nvim',
+ requires = 'nvim-lua/plenary.nvim',
+ },
-- cmp ----------------------------------------------------------------------
{ 'hrsh7th/nvim-cmp',
@@ -103,15 +114,16 @@ require 'dep' {
{ 'j-hui/fidget.nvim', -- shows lsp progress
branch = 'legacy',
},
- { 'folke/neodev.nvim' }, -- configure lua lsp for neovim
{ 'ray-x/lsp_signature.nvim' }, -- see information about the current function
{ 'dnlhc/glance.nvim' }, -- diagnostic info at a glance
+ { 'aznhe21/actions-preview.nvim', -- codeactions
+ requires = 'nvim-telescope/telescope.nvim'
+ },
- { 'folke/trouble.nvim' },
- { 'folke/todo-comments.nvim' },
-
- { 'danymat/neogen' }, -- generate lsp annotations
+ { 'danymat/neogen', -- generate lsp annotations
+ requires = 'nvim-treesitter/nvim-treesitter'
+ },
{ 'whynothugo/lsp_lines.nvim',
url = 'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
@@ -120,9 +132,11 @@ require 'dep' {
-- dap + lsp + linter + formatter installer ---------------------------------
{ 'williamboman/mason.nvim',
deps = {
- { 'WhoIsSethDaniel/mason-tool-installer.nvim' },
- { 'williamboman/mason-lspconfig.nvim' },
- { 'jay-babu/mason-nvim-dap.nvim' },
- },
+ 'WhoIsSethDaniel/mason-tool-installer.nvim',
+ 'williamboman/mason-lspconfig.nvim',
+ }
+ },
+ { 'mfussenegger/nvim-dap',
+ deps = 'rcarriga/nvim-dap-ui'
},
}