2021-02-23 11:27:32 +00:00
|
|
|
return require('packer').startup {
|
|
|
|
function(use)
|
|
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
|
2021-03-04 09:31:22 +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
|
2021-05-21 20:08:28 +00:00
|
|
|
use 'kristijanhusak/vim-dadbod-ui' -- UI For Dadbod
|
2021-03-04 09:31:22 +00:00
|
|
|
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 09:31:22 +00:00
|
|
|
-- General improvements --
|
|
|
|
use 'airblade/vim-gitgutter' -- Git signs
|
|
|
|
use 'godlygeek/tabular' -- Tabular command for alignment
|
|
|
|
use 'vim-scripts/utl.vim' -- Universal text linking
|
|
|
|
use { --
|
2021-03-17 19:34:03 +00:00
|
|
|
'mbbill/undotree', --
|
|
|
|
cmd = 'UndotreeToggle' --
|
2021-03-04 09:31:22 +00:00
|
|
|
} -- 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
|
|
|
|
use 'romainl/vim-qf' -- Quickfix list upgrades
|
2021-03-04 19:29:11 +00:00
|
|
|
use 'romainl/vim-devdocs' -- Quick DevDocs.io search using :DD
|
2021-09-29 20:45:23 +00:00
|
|
|
use 'gpanders/editorconfig.nvim' -- .editorconfig support
|
2021-11-05 19:58:26 +00:00
|
|
|
use 'lewis6991/impatient.nvim' -- Caching lua modules for faster startup
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-04 09:31:22 +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
|
2021-11-05 09:56:28 +00:00
|
|
|
use 'rcarriga/nvim-dap-ui' -- UI components for DAP
|
2021-03-04 09:31:22 +00:00
|
|
|
use 'theHamsta/nvim-dap-virtual-text' -- Virtual text display for DAP
|
2021-10-03 19:15:31 +00:00
|
|
|
use 'diepm/vim-rest-console' -- REST console for vim
|
2021-11-05 09:56:28 +00:00
|
|
|
use 'Pocco81/DAPInstall.nvim' -- Easy DAP configuration
|
|
|
|
use 'jamestthompson3/nvim-remote-containers' -- devcontainer.json support
|
|
|
|
use 'jbyuki/one-small-step-for-vimkind' -- Debugger for Nvim-Lua
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- Snippets --
|
|
|
|
if vim.g.loaded_python3_provider ~= 0 --
|
|
|
|
then --
|
|
|
|
use 'SirVer/ultisnips' -- Snippets in python format
|
|
|
|
use 'honza/vim-snippets' -- Collection of snippets for UltiSnips
|
|
|
|
end --
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- Language support --
|
|
|
|
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
|
2021-03-14 22:19:11 +00:00
|
|
|
use 'esensar/vimwiki-reviews-lua' -- Vimwiki extension for periodic reviews
|
2021-03-04 09:31:22 +00:00
|
|
|
use 'ledger/vim-ledger' -- Support for ledger-cli format
|
2021-03-30 14:17:37 +00:00
|
|
|
use 'tandrewnichols/vim-docile' -- Support for vim doc.txt format
|
2021-05-29 21:31:39 +00:00
|
|
|
use 'habamax/vim-godot' -- Godot engine (and script) support
|
2021-04-08 06:37:51 +00:00
|
|
|
use 'guns/vim-sexp' -- Precision editing for S-expressions
|
|
|
|
use( -- Simpler keymaps for vim-sexp
|
|
|
|
'tpope/vim-sexp-mappings-for-regular-people'
|
|
|
|
)
|
2021-11-05 19:58:26 +00:00
|
|
|
use 'tridactyl/vim-tridactyl' -- Tridactyl config file support
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- Treesitter --
|
|
|
|
use { --
|
2021-03-17 19:34:03 +00:00
|
|
|
'nvim-treesitter/nvim-treesitter', --
|
|
|
|
run = ':TSUpdate' --
|
2021-03-04 09:31:22 +00:00
|
|
|
} -- Treesitter integration
|
|
|
|
use 'nvim-treesitter/playground' -- TSPlaygroundToggle - access treesitter data
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- LSP --
|
|
|
|
use 'neovim/nvim-lspconfig' -- Easy LSP Config
|
|
|
|
use 'alexaandru/nvim-lspupdate' -- Easy install and update for many LSP servers
|
2021-10-08 14:28:07 +00:00
|
|
|
use 'hrsh7th/cmp-nvim-lsp' -- LSP source for cmp
|
|
|
|
use 'hrsh7th/cmp-buffer' -- Buffer source for nvim-cmp
|
2021-10-08 18:47:52 +00:00
|
|
|
use 'hrsh7th/cmp-path' -- Path source for nvim-cmp
|
|
|
|
use 'hrsh7th/cmp-nvim-lua' -- Nvim-Lua source for nvim-cmp
|
|
|
|
use 'quangnguyen30192/cmp-nvim-ultisnips' -- Ultisnips source for nvim-cmp
|
2021-10-08 14:28:07 +00:00
|
|
|
use 'hrsh7th/nvim-cmp' -- completion integration
|
2021-03-04 09:31:22 +00:00
|
|
|
use 'nvim-lua/lsp_extensions.nvim' -- LSP extensions (like closing labels for Dart)
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-03-17 19:34:03 +00:00
|
|
|
-- LSP language specific
|
|
|
|
use 'tjdevries/nlua.nvim' -- Built-in Lua integration with LSP
|
|
|
|
use 'akinsho/flutter-tools.nvim' -- Additional flutter integrations
|
2021-06-11 10:20:00 +00:00
|
|
|
use 'mfussenegger/nvim-jdtls' -- Additional java integrations
|
2021-03-17 19:34:03 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- Lua support --
|
|
|
|
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
|
2021-03-04 07:12:31 +00:00
|
|
|
|
2021-03-04 09:31:22 +00:00
|
|
|
-- 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
|
|
|
|
}
|