dotfiles/roles/neovim/files/lua/opdavies/plugins.lua

87 lines
1.8 KiB
Lua
Raw Normal View History

local status_ok, packer = pcall(require, "packer")
if not status_ok then
return
end
2021-12-23 00:56:23 +00:00
packer.init {
display = {
open_fn = function()
2022-01-09 00:07:35 +00:00
return require("packer.util").float {}
2021-12-23 00:56:23 +00:00
end,
},
}
return packer.startup(function()
2022-01-09 00:07:35 +00:00
use "wbthomason/packer.nvim"
-- Utilities
2022-01-09 00:07:35 +00:00
use "cakebaker/scss-syntax.vim"
use "christoomey/vim-sort-motion"
use "christoomey/vim-tmux-navigator"
use "editorconfig/editorconfig-vim"
use "folke/twilight.nvim"
use "folke/zen-mode.nvim"
use "icatalina/vim-case-change"
use "kyazdani42/nvim-web-devicons"
use "lewis6991/gitsigns.nvim"
use "lukas-reineke/indent-blankline.nvim"
use "machakann/vim-highlightedyank"
use "miyakogi/seiya.vim"
use "norcalli/nvim-colorizer.lua"
use "numToStr/Comment.nvim"
use "nvim-lua/plenary.nvim"
use "nvim-lua/popup.nvim"
use "sheerun/vim-polyglot"
use "tpope/vim-surround"
use "vim-test/vim-test"
use "voldikss/vim-floaterm"
use "windwp/nvim-autopairs"
use { "mg979/vim-visual-multi", branch = "master" }
-- Themes
use {
2022-01-09 00:07:35 +00:00
"tjdevries/gruvbuddy.nvim",
requires = {
2022-01-09 00:07:35 +00:00
"tjdevries/colorbuddy.vim",
},
}
-- Navigation
2022-01-09 00:07:35 +00:00
use "ThePrimeagen/harpoon"
-- Treesitter
use {
2022-01-09 00:07:35 +00:00
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
}
-- Completion
use {
2022-01-09 00:07:35 +00:00
"hrsh7th/nvim-cmp",
requires = {
2022-01-09 00:07:35 +00:00
"L3MON4D3/LuaSnip",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"onsails/lspkind-nvim",
"saadparwaiz1/cmp_luasnip",
{
2022-01-09 00:07:35 +00:00
"tzachar/cmp-tabnine",
run = "./install.sh",
},
},
}
-- Snippets
2022-01-09 00:07:35 +00:00
use "L3MON4D3/LuaSnip"
use "rafamadriz/friendly-snippets"
-- LSP
2022-01-09 00:07:35 +00:00
use "neovim/nvim-lspconfig"
use "jose-elias-alvarez/null-ls.nvim"
-- Telescope
2022-01-09 00:07:35 +00:00
use "nvim-telescope/telescope.nvim"
use { "nvim-telescope/telescope-fzf-native.nvim", run = "make" }
end)