summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins.lua
blob: d70e0accd9d3905da82f4f988dd6771e6dde90f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
require('dep') {
  -- dep manages dep ----------------------------------------------------------
  { 'squibid/dep',
    url = 'https://git.squi.bid/dep',
    pin = true,
    -- branch = 'dev'
  },

  -- colorschemes -------------------------------------------------------------
  { 'mellow-theme/mellow.nvim',
    requires = 'nvim-treesitter/nvim-treesitter'
  },

  -- ui -----------------------------------------------------------------------
  { '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'
  },
  { 'goolord/alpha-nvim' }, -- start page
  { 'dinhhuy258/sfm.nvim', -- tree view
    deps = 'dinhhuy258/sfm-git.nvim'
  },
  { 'matbme/JABS.nvim' }, -- buffer switcher
  { 'stevearc/dressing.nvim', -- nice ui selectors
    requires = 'nvim-telescope/telescope.nvim'
  },
  { 'lukas-reineke/headlines.nvim',
    requires = 'nvim-neorg/neorg'
  },

  -- functional plugins -------------------------------------------------------
  { 'lewis6991/gitsigns.nvim' }, -- very helpful git things
  { 'chentoast/marks.nvim' }, -- marks in gutter
  { 'vidocqh/auto-indent.nvim' }, -- better tabbing into indents
  { 'mbbill/undotree' }, -- careful this one is written in vimscript
  { 'dhruvasagar/vim-table-mode' }, -- same with this one
  { 'altermo/ultimate-autopair.nvim', -- autopairs
    branch = 'v0.6'
  },
  { 'numToStr/Comment.nvim' },
  { 'ahmedkhalf/project.nvim' }, -- cd into root of project
  { 'mrjones2014/smart-splits.nvim'}, -- buffer resizing
  { 'ThePrimeagen/harpoon', -- super duper fast navigation through files
    branch = 'harpoon2',
    requires = 'nvim-lua/plenary.nvim'
  },

  -- note taking --------------------------------------------------------------
  { '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',
      'folke/zen-mode.nvim'
    },
    deps = { 'nvim-neorg/neorg-telescope',
      requires = 'nvim-telescope/telescope.nvim'
    }
  },

  { 'jbyuki/venn.nvim' },

  -- fzf ----------------------------------------------------------------------
  { 'nvim-telescope/telescope.nvim',
    requires = 'nvim-lua/plenary.nvim',
    deps = {
      'nvim-telescope/telescope-file-browser.nvim',
      'nvim-telescope/telescope-symbols.nvim',
      'axieax/urlview.nvim'
    }
  },
  { 'nvim-telescope/telescope-fzf-native.nvim',
    config = function()
      vim.cmd('make')
    end,
    requires = 'nvim-telescope/telescope.nvim'
  },

  -- treesitter + colorizing --------------------------------------------------
  { 'nvim-treesitter/nvim-treesitter',
    deps = {
      'Wansmer/treesj',
      'nvim-treesitter/nvim-treesitter-context'
    }
  },
  { 'NvChad/nvim-colorizer.lua' },
  { 'folke/todo-comments.nvim',
    requires = 'nvim-lua/plenary.nvim'
  },

  -- cmp ----------------------------------------------------------------------
  { 'hrsh7th/nvim-cmp',
    deps = {
      'lukas-reineke/cmp-under-comparator', -- better results
      'hrsh7th/cmp-buffer', -- buffers
      'FelipeLema/cmp-async-path', -- path
      'hrsh7th/cmp-nvim-lsp', -- lsp
      'hrsh7th/cmp-nvim-lua', -- nvim lua api
      { 'doxnit/cmp-luasnip-choice', -- luasnip
        requires = 'L3MON4D3/LuaSnip',
      }
    },
  },

  -- snippets -----------------------------------------------------------------
  { 'L3MON4D3/LuaSnip',
    deps = 'rafamadriz/friendly-snippets',
    config = function()
      vim.cmd('make install_jsregexp')
    end
  },

  -- lsp ----------------------------------------------------------------------
  { 'neovim/nvim-lspconfig' }, -- setup lsp
  { 'j-hui/fidget.nvim', -- shows lsp progress
    branch = 'legacy'
  },

  { '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'
  },

  { 'danymat/neogen', -- generate lsp annotations
    requires = 'nvim-treesitter/nvim-treesitter'
  },

  { 'whynothugo/lsp_lines.nvim',
    url = 'https://git.sr.ht/~whynothugo/lsp_lines.nvim'
  },

  -- mason --------------------------------------------------------------------
  { 'williamboman/mason.nvim',
    deps = {
      'WhoIsSethDaniel/mason-tool-installer.nvim',
      'williamboman/mason-lspconfig.nvim'
    }
  }
}