dotfiles/symlinks/config/nvim/lua/init/plugins.lua

78 lines
3.8 KiB
Lua
Raw Normal View History

2021-02-23 11:27:32 +00:00
return require('packer').startup {
function(use)
use 'wbthomason/packer.nvim'
2021-03-04 07:12:31 +00:00
-- Tpope general improvements
use 'tpope/vim-sensible' -- Sane defaults
use 'tpope/vim-endwise' -- Add closing statements automatically for if, function etc
use 'tpope/vim-surround' -- Surround with ', ", etc
use 'tpope/vim-fugitive' -- Git integration
use 'tpope/vim-vinegar' -- Netrw improvements
use 'tpope/vim-obsession' -- Session.vim management
use 'tpope/vim-dadbod' -- Database access
use 'tpope/vim-speeddating' -- <C-A> and <C-X> for dates
use 'tpope/vim-dispatch' -- Dispatch command
use 'tpope/vim-projectionist' -- Project config file!
use 'tpope/vim-unimpaired' -- Additional [ and ] mappings
use 'tpope/vim-repeat' -- Better . repeat
use 'tpope/vim-commentary' -- Commenting motion
use 'tpope/vim-sleuth' -- Intendation heuristics
2021-02-23 11:27:32 +00:00
2021-03-04 07:12:31 +00:00
-- General improvements
use 'airblade/vim-gitgutter' -- Git signs
use 'godlygeek/tabular' -- Tabular command for alignment
-- use { 'Shougo/vimproc.vim', run = 'make' } -- Not really used
use 'vim-scripts/utl.vim' -- Universal text linking
use { 'mbbill/undotree', cmd = 'UndotreeToggle' } -- Undos in a tree for easy access
use 'mhinz/vim-grepper' -- Grepper command - improved grepping throughout project
use 'radenling/vim-dispatch-neovim' -- vim-dispatch for neovim - uses terminal
use 'wellle/targets.vim' -- Additional targets for inside and around motions
use 'flazz/vim-colorschemes' -- All popular colorschemes
2021-02-23 11:27:32 +00:00
2021-03-04 07:12:31 +00:00
-- Tools
use 'direnv/direnv.vim' -- Integration with Direnv
use 'vim-test/vim-test' -- Running tests from vim
use 'dense-analysis/ale' -- Asynchronous Lint Engine - used for linting, not for LSP
use 'nathunsmitty/nvim-ale-diagnostic' -- Neovim LSP + ALE integration
use 'mfussenegger/nvim-dap' -- Debug Adapter Protocol
use 'theHamsta/nvim-dap-virtual-text' -- Virtual text display for DAP
2021-02-23 11:27:32 +00:00
-- Snippets
if vim.g.loaded_python3_provider ~= 0
then
2021-03-04 07:12:31 +00:00
use 'SirVer/ultisnips' -- Snippets in python format
use 'honza/vim-snippets' -- Collection of snippets for UltiSnips
2021-02-23 11:27:32 +00:00
end
-- Language support
2021-03-04 07:12:31 +00:00
use 'sheerun/vim-polyglot' -- All popular languages
use 'tpope/vim-rails' -- Enables all rails command through vim and integrates with projectionist
use 'c-brenn/phoenix.vim' -- Similar to vim-rails, but for phoenix
use 'tpope/vim-salve' -- Clojure integration with projectionist
use 'tpope/vim-fireplace' -- Clojure REPL and integration
use 'vimwiki/vimwiki' -- Vimwiki - personal wiki in vim
use 'ledger/vim-ledger' -- Support for ledger-cli format
2021-02-23 11:27:32 +00:00
-- Treesitter
2021-03-04 07:12:31 +00:00
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } -- Treesitter integration
use 'nvim-treesitter/playground' -- TSPlaygroundToggle - access treesitter data
2021-02-23 11:27:32 +00:00
-- LSP
-- use 'tjdevries/nlua.nvim'
2021-03-04 07:12:31 +00:00
use 'neovim/nvim-lspconfig' -- Easy LSP Config
use 'alexaandru/nvim-lspupdate' -- Easy install and update for many LSP servers
use 'nvim-lua/completion-nvim' -- LSP completion integration
use 'nvim-treesitter/completion-treesitter' -- Treesitter completion integration
use 'nvim-lua/lsp_extensions.nvim' -- LSP extensions (like closing labels for Dart)
2021-02-23 11:27:32 +00:00
-- Lua support
2021-03-04 07:12:31 +00:00
use 'tjdevries/astronauta.nvim' -- Support for lua ftplugins and plugins
use 'nvim-lua/popup.nvim' -- Popup API integration - needed for some plugins
use 'nvim-lua/plenary.nvim' -- Lua helpers
-- Telescope
use 'nvim-telescope/telescope.nvim' -- Fuzzy searcher
use 'nvim-telescope/telescope-dap.nvim' -- DAP integration for Telescope
2021-02-23 11:27:32 +00:00
end
}