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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

106 lines
2.4 KiB
Lua
Raw Normal View History

2020-10-28 14:33:37 +01:00
-- Add the in built Cfilter plugin. Replaces QFGrep.
vim.cmd 'packadd cfilter'
vim.cmd 'packadd packer.nvim'
2020-10-28 14:33:37 +01:00
local init = function ()
use {'wbthomason/packer.nvim', opt = true}
-- Vertical Motion
2021-11-14 14:50:45 +01:00
use 'phaazon/hop.nvim'
2020-10-28 14:33:37 +01:00
-- Search
use {
'junegunn/fzf',
run = './install --bin'
}
use 'junegunn/fzf.vim'
2020-10-28 14:33:37 +01:00
-- Manage Project sessions
use 'rmagatti/auto-session'
-- Snippets
use {
'dcampos/nvim-snippy',
requires = {
'honza/vim-snippets',
}
}
2020-10-28 14:33:37 +01:00
-- Git support
use 'lewis6991/gitsigns.nvim'
use 'tpope/vim-fugitive'
use 'https://github.com/SanchayanMaity/gitlinker.nvim'
2020-10-28 14:33:37 +01:00
-- Boost vim command line mode
use 'vim-utils/vim-husk'
-- Quickfix
use 'chengzeyi/fzf-preview.vim'
use {
'https://gitlab.com/yorickpeterse/nvim-pqf',
config = function()
require('pqf').setup()
end
}
2020-10-28 14:33:37 +01:00
-- Text Object plugins
use {
'wellle/targets.vim',
'tpope/vim-surround',
'kana/vim-textobj-user',
'idbrii/textobj-word-column.vim',
2022-02-05 04:57:03 +01:00
'glts/vim-textobj-comment'
2020-10-28 14:33:37 +01:00
}
use 'numToStr/Comment.nvim'
2020-10-28 14:33:37 +01:00
-- Tim pope essentials
use {
'tpope/vim-repeat',
'tpope/vim-sleuth',
'tpope/vim-dispatch'
2020-10-28 14:33:37 +01:00
}
-- Directory viewer
use 'elihunter173/dirbuf.nvim'
2020-10-30 07:08:04 +01:00
-- Alignment
use 'junegunn/vim-easy-align'
use 'nvim-lua/plenary.nvim'
2020-10-28 14:33:37 +01:00
-- LSP
use 'kosayoda/nvim-lightbulb'
2020-10-28 14:33:37 +01:00
-- Language support & syntax highlighting
2021-11-27 12:00:18 +01:00
use 'mfussenegger/nvim-lint'
use 'lvimuser/lsp-inlayhints.nvim'
use 'sdiehl/vim-cabalfmt'
2021-06-26 12:17:07 +02:00
-- treesitter based syntax highlighting
2020-10-28 14:33:37 +01:00
use {
'nvim-treesitter/nvim-treesitter',
requires = {
{
"nvim-treesitter/playground",
after = "nvim-treesitter",
cmd = { "TSPlaygroundToggle", "TSHighlightCapturesUnderCursor" },
},
{
"mfussenegger/nvim-treehopper",
after = "nvim-treesitter",
},
},
2020-10-28 14:33:37 +01:00
config = "require('treesitter')",
run = ':TSUpdate'
2020-10-28 14:33:37 +01:00
}
-- Marks and registers
use {
'chentoast/marks.nvim',
}
use 'andymass/vim-matchup'
use 'christoomey/vim-tmux-navigator'
use {
"windwp/nvim-autopairs",
config = function()
require("nvim-autopairs").setup {}
end
}
use 'gpanders/nvim-parinfer'
2020-10-28 14:33:37 +01:00
end
local config = {
git = {
subcommands = {
update = 'pull --ff-only --progress --rebase=false --no-tags',
fetch = 'fetch --depth 999999 --progress --no-tags',
}
}
}
return require('packer').startup(init, config)