diff options
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r-- | .config/nvim/lua/plugins.lua | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 8233e44..35750e9 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -8,12 +8,36 @@ | |||
8 | return require('packer').startup(function() | 8 | return require('packer').startup(function() |
9 | -- packer can manage itself | 9 | -- packer can manage itself |
10 | use 'wbthomason/packer.nvim' | 10 | use 'wbthomason/packer.nvim' |
11 | |||
12 | -- latex suite | 11 | -- latex suite |
13 | use {'lervag/vimtex', ft = {'tex', 'latex', 'plaintext'}} | 12 | use {'lervag/vimtex', ft = {'tex', 'latex', 'plaintext'}} |
14 | 13 | ||
15 | -- still here, going away soon say bye bye | 14 | -- treesitter... |
16 | use 'dense-analysis/ale' | 15 | use { |
16 | 'nvim-treesitter/nvim-treesitter', | ||
17 | run = ':TSUpdate' | ||
18 | } | ||
19 | use 'nvim-treesitter/playground' | ||
20 | |||
21 | -- quickstart lsp config | ||
22 | use 'neovim/nvim-lspconfig' | ||
23 | |||
24 | -- dashboard | ||
25 | use 'glepnir/dashboard-nvim' | ||
26 | |||
27 | -- completion suite | ||
28 | use 'hrsh7th/cmp-nvim-lsp' | ||
29 | use 'hrsh7th/cmp-buffer' | ||
30 | use 'hrsh7th/nvim-cmp' | ||
31 | use 'kdheepak/cmp-latex-symbols' | ||
32 | use 'quangnguyen30192/cmp-nvim-ultisnips' | ||
33 | |||
34 | -- find, filter, preview, pick | ||
35 | use { | ||
36 | 'nvim-telescope/telescope.nvim', | ||
37 | requires = { {'nvim-lua/plenary.nvim'} } | ||
38 | } | ||
39 | use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } | ||
40 | |||
17 | -- manages tag files | 41 | -- manages tag files |
18 | use 'ludovicchabant/vim-gutentags' | 42 | use 'ludovicchabant/vim-gutentags' |
19 | -- run tests (todo: write tests) | 43 | -- run tests (todo: write tests) |
@@ -22,7 +46,6 @@ return require('packer').startup(function() | |||
22 | use 'jpalardy/vim-slime' | 46 | use 'jpalardy/vim-slime' |
23 | -- snippets to expand | 47 | -- snippets to expand |
24 | use {'SirVer/ultisnips', 'honza/vim-snippets'} | 48 | use {'SirVer/ultisnips', 'honza/vim-snippets'} |
25 | |||
26 | -- auto pair plugin, people hate these | 49 | -- auto pair plugin, people hate these |
27 | use 'tmsvg/pear-tree' | 50 | use 'tmsvg/pear-tree' |
28 | -- git diff in the sign column | 51 | -- git diff in the sign column |
@@ -30,6 +53,7 @@ return require('packer').startup(function() | |||
30 | -- completion preview of floating window | 53 | -- completion preview of floating window |
31 | use 'ncm2/float-preview.nvim' | 54 | use 'ncm2/float-preview.nvim' |
32 | 55 | ||
56 | |||
33 | -- language packs | 57 | -- language packs |
34 | use "nathom/filetype.nvim" | 58 | use "nathom/filetype.nvim" |
35 | -- i3 config filetype | 59 | -- i3 config filetype |
@@ -39,9 +63,6 @@ return require('packer').startup(function() | |||
39 | -- ledger filetype | 63 | -- ledger filetype |
40 | use 'ledger/vim-ledger' | 64 | use 'ledger/vim-ledger' |
41 | 65 | ||
42 | use {'junegunn/fzf', dir = '~/.fzf'} | ||
43 | use 'junegunn/fzf.vim' | ||
44 | |||
45 | -- file explorer | 66 | -- file explorer |
46 | use 'lambdalisue/fern.vim' | 67 | use 'lambdalisue/fern.vim' |
47 | -- bug in neovim, so required for now | 68 | -- bug in neovim, so required for now |
@@ -59,7 +80,7 @@ return require('packer').startup(function() | |||
59 | -- highlight colors | 80 | -- highlight colors |
60 | use { | 81 | use { |
61 | 'norcalli/nvim-colorizer.lua', | 82 | 'norcalli/nvim-colorizer.lua', |
62 | ft = { 'css', 'javascript', 'vim', 'html' }, | 83 | ft = {'css', 'javascript', 'vim', 'html'}, |
63 | config = [[require('colorizer').setup {'css', 'javascript', 'vim', 'html'}]], | 84 | config = [[require('colorizer').setup {'css', 'javascript', 'vim', 'html'}]], |
64 | } | 85 | } |
65 | 86 | ||
@@ -130,7 +151,4 @@ return require('packer').startup(function() | |||
130 | use 'tpope/vim-commentary' | 151 | use 'tpope/vim-commentary' |
131 | -- asynchronous build and test dispatcher | 152 | -- asynchronous build and test dispatcher |
132 | use {'tpope/vim-dispatch', opt = true, cmd = {'Dispatch', 'Make', 'Focus', 'Start'}} | 153 | use {'tpope/vim-dispatch', opt = true, cmd = {'Dispatch', 'Make', 'Focus', 'Start'}} |
133 | |||
134 | -- fancy start screen | ||
135 | use 'mhinz/vim-startify' | ||
136 | end) | 154 | end) |