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

113 lines
2.4 KiB
Lua
Raw Normal View History

2021-11-05 17:44:11 +01:00
vim.cmd [[packadd packer.nvim]]
2021-04-20 14:34:02 +02:00
2021-04-24 19:41:58 +02:00
local function pconf(plugin)
2021-11-05 17:44:11 +01:00
return 'require("pluginconf.' .. plugin .. '")'
2021-04-24 19:41:58 +02:00
end
2022-01-22 16:38:51 +01:00
local function cmp_plugins(use)
use {
"neovim/nvim-lspconfig",
config = pconf "lspconf",
}
use "hrsh7th/cmp-nvim-lsp"
use "hrsh7th/cmp-buffer"
use "hrsh7th/cmp-path"
use "hrsh7th/cmp-cmdline"
use {
"hrsh7th/nvim-cmp",
config = pconf "nvim_cmp",
}
use "saadparwaiz1/cmp_luasnip"
use {
"L3MON4D3/LuaSnip",
config = pconf "nvim_luasnip",
requires = {
"rafamadriz/friendly-snippets",
"honza/vim-snippets",
},
}
2021-04-20 14:34:02 +02:00
2021-11-05 17:44:11 +01:00
use {
2022-01-22 16:38:51 +01:00
"simrat39/rust-tools.nvim",
config = pconf "rust_tools",
2021-11-05 17:44:11 +01:00
}
2022-01-22 16:54:56 +01:00
use {
"Saecki/crates.nvim",
config = pconf "nvim_crates",
}
2022-01-22 16:38:51 +01:00
end
return require("packer").startup(function(use)
use "wbthomason/packer.nvim"
2021-11-05 17:44:11 +01:00
use "ryanoasis/vim-devicons"
use {
"dracula/vim",
as = "dracula",
}
use {
"glacambre/firenvim",
run = function()
vim.fn["firenvim#install"](0)
end,
config = pconf "firenvim",
}
use "airblade/vim-gitgutter"
use "dag/vim-fish"
use "uiiaoo/java-syntax.vim"
use "sheerun/vim-polyglot"
use {
2022-01-22 16:38:51 +01:00
"dsych/galaxyline.nvim",
branch = "bugfix/diagnostics", -- fork with a fix to not use deprecated API
2021-11-05 17:44:11 +01:00
config = pconf "galaxyline",
}
use {
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
config = pconf "treesitter",
}
use {
"euclio/vim-markdown-composer",
run = "cargo build --release",
config = pconf "markdowncomposer",
}
2021-06-26 23:30:51 +02:00
2021-11-05 17:44:11 +01:00
use "kassio/neoterm"
2021-06-26 23:30:51 +02:00
2021-11-05 17:44:11 +01:00
use "kyazdani42/nvim-web-devicons"
2021-09-26 23:11:50 +02:00
2021-11-05 17:44:11 +01:00
use {
"kyazdani42/nvim-tree.lua",
requires = "kyazdani42/nvim-web-devicons",
config = pconf "nvimtree",
}
2021-09-26 23:11:50 +02:00
2021-11-05 17:44:11 +01:00
use {
"TimUntersberger/neogit",
requires = "nvim-lua/plenary.nvim",
}
2021-09-26 23:11:50 +02:00
2021-11-05 17:44:11 +01:00
use "ron-rs/ron.vim"
2021-09-11 18:13:25 +02:00
2021-11-05 17:44:11 +01:00
use {
"nvim-telescope/telescope.nvim",
requires = "nvim-lua/plenary.nvim",
config = pconf "telescope",
}
use "gluon-lang/vim-gluon"
use {
2022-01-22 16:38:51 +01:00
"windwp/nvim-autopairs",
config = pconf "autopairs",
2021-11-05 17:44:11 +01:00
}
2022-01-22 16:38:51 +01:00
use "windwp/nvim-ts-autotag"
2021-12-14 14:45:41 +01:00
use {
"p00f/nvim-ts-rainbow",
requires = "nvim-treesitter/nvim-treesitter",
}
2022-01-22 16:38:51 +01:00
cmp_plugins(use)
2021-04-20 14:34:02 +02:00
end)