dotfiles/home/config/nvim/lua/plugins.lua

112 lines
3.4 KiB
Lua
Raw Normal View History

2023-01-02 20:15:50 +00:00
vim.cmd([[autocmd BufWritePost plugins.lua PackerCompile]])
return function(use)
2023-10-25 19:30:40 +00:00
use({'SirVer/ultisnips'})
use({'honza/vim-snippets'})
2023-02-28 04:46:59 +00:00
2023-10-25 19:30:40 +00:00
use({'williamboman/mason.nvim'})
2023-02-28 04:46:59 +00:00
use({'williamboman/mason-lspconfig.nvim'})
use({'neovim/nvim-lspconfig'})
2023-10-25 19:30:40 +00:00
require'lspconfig'.gopls.setup{ 'gopls' }
2023-05-05 18:57:41 +00:00
2023-02-28 04:46:59 +00:00
use({'simrat39/rust-tools.nvim'})
use({'hrsh7th/nvim-cmp'})
use({'hrsh7th/cmp-nvim-lsp'})
use({'hrsh7th/cmp-nvim-lua'})
use({'hrsh7th/cmp-nvim-lsp-signature-help'})
use({'hrsh7th/cmp-vsnip'})
use({'hrsh7th/cmp-path'})
use({'hrsh7th/cmp-buffer'})
use({'hrsh7th/vim-vsnip'})
2023-10-30 14:00:12 +00:00
use({'atelierbram/vim-colors_atelier-schemes'})
2023-10-25 19:30:40 +00:00
-- use({'liuchengxu/space-vim-dark'})
2023-01-02 20:15:50 +00:00
2023-01-02 21:08:34 +00:00
use({'robertmeta/nofrils'})
use({'vim-test/vim-test'})
use({'hashivim/vim-terraform'})
use({'rmagatti/auto-session'})
use({'ludovicchabant/vim-gutentags'})
use({'preservim/nerdtree'})
use({'junegunn/fzf', dir='~/.fzf'})
use({'junegunn/fzf.vim'})
use({'mhinz/vim-startify'})
use({'jeetsukumaran/vim-buffergator'})
use({'ap/vim-buftabline'})
use({'airblade/vim-gitgutter'})
use({'majutsushi/tagbar'})
2023-10-25 19:30:40 +00:00
use {'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons', opt = true } }
2023-05-05 20:55:13 +00:00
use({'arkav/lualine-lsp-progress'})
2023-10-25 19:30:40 +00:00
require('lualine').setup({
2023-05-05 20:55:13 +00:00
options = { theme = 'palenight' },
sections = {
2023-05-17 19:06:50 +00:00
lualine_b ={ {'filename', path=1} },
2023-05-05 20:55:13 +00:00
lualine_c = {
'lsp_progress'
}
2023-05-17 19:06:50 +00:00
},
inactive_sections = {
lualine_a = {},
lualine_b ={ {'filename', path=1} },
lualine_c = {},
lualine_d = {},
lualine_e = {},
}
2023-10-25 19:30:40 +00:00
})
2023-01-02 21:08:34 +00:00
use({'voldikss/vim-floaterm'})
use({'fatih/vim-go'})
use({'whatyouhide/vim-gotham'})
use({'nanotech/jellybeans.vim'})
use({'sickill/vim-monokai'})
use({'tpope/vim-fugitive'})
use({'tpope/vim-rhubarb'})
use({'gf3/peg.vim'})
use({'nvim-lua/plenary.nvim'})
2023-10-25 19:30:40 +00:00
use({ 'nvim-telescope/telescope.nvim', config = function () require('telescope').setup{ file_ignore_patterns = {'node_modules','./venv/'} } end })
2023-05-27 02:50:26 +00:00
use({'nvim-telescope/telescope-project.nvim'})
-- require'telescope'.load_extension('project')
2023-02-28 05:06:27 +00:00
use({'puremourning/vimspector'})
2023-10-25 19:30:40 +00:00
use({'airblade/vim-rooter'})
2023-02-28 05:06:27 +00:00
2023-05-28 17:35:08 +00:00
-- Debugging
use 'mfussenegger/nvim-dap'
2023-10-25 19:30:40 +00:00
local rt = require('rust-tools')
2023-05-28 17:35:08 +00:00
rt.setup({
server = {
on_attach = function(_, bufnr)
-- Hover actions
2023-10-25 19:30:40 +00:00
vim.keymap.set('n', '<C-space>', rt.hover_actions.hover_actions, { buffer = bufnr })
2023-05-28 17:35:08 +00:00
-- Code action groups
2023-10-25 19:30:40 +00:00
vim.keymap.set('n', '<Leader>a', rt.code_action_group.code_action_group, { buffer = bufnr })
2023-05-28 17:35:08 +00:00
end,
},
})
2023-10-25 19:30:40 +00:00
use({'lukas-reineke/indent-blankline.nvim'})
2023-07-05 05:16:23 +00:00
2023-10-25 19:30:40 +00:00
use({'fredeeb/tardis.nvim', config = true })
require('tardis-nvim').setup({
2023-10-25 15:37:38 +00:00
keymap = {
next = '<C-n>', -- next entry in log (older)
prev = '<C-m>', -- previous entry in log (newer)
quit = 'q', -- quit all
commit_message = 'm', -- show commit message for current commit in buffer
},
commits = 32, -- max number of commits to read
2023-10-25 19:30:40 +00:00
})
2023-10-25 15:37:38 +00:00
2023-10-26 02:38:00 +00:00
use({'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' })
use({'nvim-treesitter/nvim-treesitter-refactor'})
use({'RRethy/nvim-treesitter-textsubjects'})
require("nvim-treesitter.configs").setup({
highlight = { enable = true, disable = { "lua" } },
indent = { enable = true },
refactor = { highlight_definitions = { enable = true } },
matchup = { enable = true },
})
2023-11-08 21:59:32 +00:00
2023-01-02 20:15:50 +00:00
end