1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/init.lua
2022-12-27 14:02:03 +01:00

68 lines
1.9 KiB
Lua

local env = require("my.helpers.env")
local M = {}
function M.setup()
require("my.plugins.moonwalk").setup()
require("my.plugins.chunk")
require('nvim_comment').setup()
require('fidget').setup()
require('dressing').setup()
require('abbreinder').setup()
require("my.plugins.autopairs").setup()
require("my.plugins.telescope").setup()
require("my.plugins.surround").setup()
env.vscode.unless(function()
env.firevim.unless(function()
require('my.plugins.neoconf').setup()
require("presence"):setup({})
require("my.plugins.nvim-tree").setup()
require("my.plugins.lualine").setup()
require("my.plugins.vimux").setup()
-- require("my.plugins.whichkey").setup()
require("toggleterm").setup()
require("my.plugins.neogit").setup()
-- require("my.plugins.noice").setup()
end)
require("my.plugins.neodev").setup()
require("my.plugins.dashboard").setup()
require("my.plugins.treesitter").setup()
require("my.plugins.cmp").setup()
require("my.plugins.luasnip").setup()
require("my.plugins.lspconfig").setup()
require("my.plugins.null-ls").setup()
require("my.plugins.vimtex").setup()
-- require("my.plugins.lean").setup()
require("my.plugins.notify").setup()
end)
if env.neovide.active() then
require("my.plugins.neovide").setup()
else
-- Neovide already provides this functionality!
vim.cmd [[packadd! vim-smoothie]]
end
if env.firevim.active() then
require("my.plugins.firevim").setup()
else
require("gitlinker").setup()
require("my.plugins.paperplanes").setup()
end
require("my.plugins.leap").setup()
require("my.plugins.hydra").setup()
require("my.plugins.clipboard-image").setup()
require("my.plugins.mind").setup()
-- require("my.plugins.ufo").setup()
require("my.plugins.arpeggio").setup()
-- require("my.plugins.slam").setup()
end
return M