2021-04-23 14:46:45 +00:00
|
|
|
local execute = vim.api.nvim_command
|
|
|
|
local fn = vim.fn
|
|
|
|
|
|
|
|
local install_path = fn.stdpath("data").."/site/pack/packer/opt/packer.nvim"
|
|
|
|
|
|
|
|
if fn.empty(fn.glob(install_path)) > 0 then
|
|
|
|
fn.system({"git", "clone", "https://github.com/wbthomason/packer.nvim", install_path})
|
|
|
|
execute "packadd packer.nvim"
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
|
|
|
|
require("packer").startup(function(use)
|
2021-04-30 10:53:30 +00:00
|
|
|
|
2021-05-01 13:20:02 +00:00
|
|
|
--use_rocks "rtsisyk/fun"
|
2021-04-23 14:46:45 +00:00
|
|
|
|
2021-05-02 09:47:28 +00:00
|
|
|
use "tami5/compe-conjure"
|
|
|
|
|
|
|
|
use "pwntester/octo.nvim"
|
|
|
|
|
|
|
|
use "Olical/conjure"
|
2021-04-30 16:23:38 +00:00
|
|
|
|
2021-04-30 11:30:39 +00:00
|
|
|
use "p00f/nvim-ts-rainbow"
|
|
|
|
use "romgrk/nvim-treesitter-context"
|
2021-05-02 09:47:28 +00:00
|
|
|
use "JoosepAlviste/nvim-ts-context-commentstring"
|
2021-04-30 10:53:30 +00:00
|
|
|
use {
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
run = ":TSUpdate"
|
|
|
|
}
|
2021-04-24 09:48:47 +00:00
|
|
|
|
2021-04-30 10:53:30 +00:00
|
|
|
--use "code-biscuits/nvim-biscuits"
|
2021-04-29 18:04:17 +00:00
|
|
|
|
2021-04-30 10:53:30 +00:00
|
|
|
use "simrat39/symbols-outline.nvim"
|
|
|
|
use "folke/which-key.nvim"
|
2021-04-29 19:08:05 +00:00
|
|
|
use "folke/lsp-trouble.nvim"
|
|
|
|
|
2021-05-02 10:32:09 +00:00
|
|
|
use "sindrets/diffview.nvim"
|
|
|
|
|
2021-04-29 18:04:17 +00:00
|
|
|
|
2021-04-23 15:41:29 +00:00
|
|
|
-- better quickfix window
|
2021-05-02 09:47:28 +00:00
|
|
|
--use "kevinhwang91/nvim-bqf"
|
2021-04-23 14:46:45 +00:00
|
|
|
|
2021-04-23 15:41:29 +00:00
|
|
|
-- json query stuff
|
|
|
|
use {
|
|
|
|
"gennaro-tedesco/nvim-jqx",
|
|
|
|
ft = { "json" }
|
|
|
|
}
|
|
|
|
|
2021-04-23 14:46:45 +00:00
|
|
|
|
|
|
|
use {
|
|
|
|
"Olical/aniseed",
|
|
|
|
tag = "v3.16.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
-- general purpose lua wrappers for nvim stuff
|
|
|
|
use "norcalli/nvim.lua"
|
2021-04-23 16:09:31 +00:00
|
|
|
|
|
|
|
|
2021-04-23 15:41:29 +00:00
|
|
|
use "akinsho/nvim-bufferline.lua"
|
2021-04-23 14:46:45 +00:00
|
|
|
use "tweekmonster/startuptime.vim"
|
|
|
|
use "tpope/vim-repeat"
|
|
|
|
use {
|
|
|
|
"junegunn/goyo.vim",
|
|
|
|
cmd = "Goyo",
|
|
|
|
}
|
2021-04-29 18:04:17 +00:00
|
|
|
|
2021-05-01 13:20:02 +00:00
|
|
|
--use "mhinz/vim-signify"
|
2021-05-01 10:01:13 +00:00
|
|
|
use "lewis6991/gitsigns.nvim"
|
2021-04-30 16:23:38 +00:00
|
|
|
|
2021-04-23 14:46:45 +00:00
|
|
|
use "tpope/vim-fugitive"
|
|
|
|
use "preservim/nerdcommenter"
|
|
|
|
use "glepnir/galaxyline.nvim"
|
|
|
|
use "gruvbox-community/gruvbox"
|
|
|
|
use "godlygeek/tabular" -- :Tab /regex can align code on occurrences of the given regex. I.e. :Tab /= aligns all = signs in a block.
|
|
|
|
use "tpope/vim-surround"
|
|
|
|
use "christoomey/vim-tmux-navigator" -- good integration with tmux pane switching
|
|
|
|
use "nathanaelkane/vim-indent-guides" -- Can be toggled using <leader>ig (intent-guides)
|
|
|
|
|
|
|
|
-- <C-n> to select current word. <C-n> to select next occurrence.
|
|
|
|
-- with multiple lines selected in Visual mode, <C-n> to insert cursor in each line. I not i to insert in Visual-mode.
|
|
|
|
-- use "terryma/vim-multiple-cursors"
|
|
|
|
use "mg979/vim-visual-multi"
|
|
|
|
use "hauleth/sad.vim" -- Use siw instead of ciw. when using . afterwards, will find the next occurrence of the changed word and change it too
|
|
|
|
use "wellle/targets.vim" -- more text objects. IE: cin) (change in next parens). generally better handling of surrounding objects.
|
|
|
|
use "unblevable/quick-scope" -- highlight targets when pressing f<character>
|
|
|
|
use {
|
|
|
|
"iamcco/markdown-preview.nvim",
|
|
|
|
run = vim.fn["mkdp#util#install"]
|
|
|
|
}
|
|
|
|
|
|
|
|
use "machakann/vim-highlightedyank"
|
|
|
|
use "ciaranm/detectindent"
|
|
|
|
use "pechorin/any-jump.vim"
|
|
|
|
use "justinmk/vim-sneak"
|
|
|
|
use "psliwka/vim-smoothie"
|
|
|
|
use "editorconfig/editorconfig-vim"
|
|
|
|
use "honza/vim-snippets"
|
|
|
|
use "tommcdo/vim-exchange"
|
|
|
|
use "kien/rainbow_parentheses.vim"
|
|
|
|
use "bhurlow/vim-parinfer"
|
|
|
|
|
2021-04-23 15:41:29 +00:00
|
|
|
|
|
|
|
use "ray-x/lsp_signature.nvim"
|
|
|
|
|
2021-04-23 14:46:45 +00:00
|
|
|
-- Language Plugins ----------------------------------------------------- {{{
|
|
|
|
|
|
|
|
use "bduggan/vim-raku"
|
|
|
|
use "LnL7/vim-nix"
|
|
|
|
|
|
|
|
use "kevinoid/vim-jsonc"
|
|
|
|
|
|
|
|
use "ap/vim-css-color"
|
|
|
|
use "pangloss/vim-javascript" -- syntax highlighting JS
|
|
|
|
use "ianks/vim-tsx"
|
|
|
|
use "leafgarland/typescript-vim"
|
|
|
|
use "sheerun/vim-polyglot" -- Syntax highlighting for most languages
|
|
|
|
-- use "mattn/emmet-vim"
|
|
|
|
|
|
|
|
use "purescript-contrib/purescript-vim"
|
|
|
|
|
|
|
|
use "HerringtonDarkholme/yats.vim" -- typescript syntax highlighting
|
|
|
|
use "mxw/vim-jsx"
|
|
|
|
|
|
|
|
-- Haskell
|
|
|
|
use "neovimhaskell/haskell-vim"
|
|
|
|
|
|
|
|
-- Rust
|
|
|
|
use "rust-lang/rust.vim"
|
|
|
|
use "mattn/webapi-vim"
|
|
|
|
|
|
|
|
use "bakpakin/fennel.vim"
|
|
|
|
use "tjdevries/nlua.nvim"
|
|
|
|
|
|
|
|
-- use "mxw/vim-prolog"
|
|
|
|
|
|
|
|
|
2021-04-30 14:26:31 +00:00
|
|
|
use "simrat39/rust-tools.nvim"
|
|
|
|
|
2021-04-23 14:46:45 +00:00
|
|
|
use "neovim/nvim-lspconfig"
|
|
|
|
|
|
|
|
-- use "nvim-lua/completion-nvim"
|
|
|
|
use "hrsh7th/nvim-compe"
|
|
|
|
use "glepnir/lspsaga.nvim"
|
|
|
|
-- use "cohama/lexima.vim"
|
|
|
|
|
|
|
|
use "nvim-lua/popup.nvim"
|
|
|
|
use "nvim-lua/plenary.nvim"
|
|
|
|
use "nvim-telescope/telescope.nvim"
|
|
|
|
|
|
|
|
use "RishabhRD/popfix"
|
|
|
|
use "RishabhRD/nvim-lsputils"
|
|
|
|
|
|
|
|
use "nvim-telescope/telescope-media-files.nvim"
|
|
|
|
|
|
|
|
-- }}}
|
|
|
|
|
|
|
|
end)
|
|
|
|
|