my-nvim-lua/lua/pluginList.lua

209 lines
5.2 KiB
Lua
Raw Normal View History

local present, _ = pcall(require, "packerInit")
if present then
packer = require "packer"
else
return false
end
local use = packer.use
2021-07-09 03:44:04 +00:00
2021-06-14 14:25:41 +00:00
return packer.startup(
2021-03-13 01:23:02 +00:00
function()
2021-06-01 18:28:24 +00:00
use "wbthomason/packer.nvim"
2021-07-18 11:02:03 +00:00
use {"akinsho/nvim-bufferline.lua", event = "VimEnter"}
2021-07-09 03:44:04 +00:00
use {
"glepnir/galaxyline.nvim",
2021-07-18 11:02:03 +00:00
event = "VimEnter",
2021-07-09 03:44:04 +00:00
config = function()
require "plugins.statusline"
2021-07-09 03:44:04 +00:00
end
}
2021-06-26 02:27:09 +00:00
2021-04-20 04:15:14 +00:00
-- color related stuff
2021-05-06 04:05:23 +00:00
use "siduck76/nvim-base16.lua"
2021-06-27 15:29:39 +00:00
use {
"norcalli/nvim-colorizer.lua",
2021-06-27 16:28:35 +00:00
event = "BufRead",
2021-06-27 15:29:39 +00:00
config = function()
2021-07-16 17:52:36 +00:00
require("plugins.others").colorizer()
2021-06-27 15:29:39 +00:00
end
}
2021-06-01 18:28:24 +00:00
2021-06-26 02:27:09 +00:00
-- language related plugins
2021-06-25 16:06:13 +00:00
use {
"nvim-treesitter/nvim-treesitter",
event = "BufRead",
config = function()
require "plugins.treesitter"
2021-06-25 16:06:13 +00:00
end
}
2021-07-10 13:36:41 +00:00
use {
"kabouzeid/nvim-lspinstall",
2021-07-11 11:58:10 +00:00
event = "BufRead"
2021-07-10 13:36:41 +00:00
}
2021-06-24 17:19:42 +00:00
use {
2021-06-26 02:27:09 +00:00
"neovim/nvim-lspconfig",
2021-07-11 11:58:10 +00:00
after = "nvim-lspinstall",
2021-06-24 17:19:42 +00:00
config = function()
require "plugins.lspconfig"
2021-06-24 17:19:42 +00:00
end
}
use {
"onsails/lspkind-nvim",
event = "BufRead",
config = function()
2021-07-16 17:52:36 +00:00
require("plugins.others").lspkind()
end
}
2021-06-26 02:27:09 +00:00
-- load compe in insert mode only
use {
"hrsh7th/nvim-compe",
event = "InsertEnter",
config = function()
require "plugins.compe"
end,
wants = {"LuaSnip"},
requires = {
{
"L3MON4D3/LuaSnip",
wants = "friendly-snippets",
event = "InsertCharPre",
config = function()
require "plugins.luasnip"
end
},
2021-07-11 06:50:15 +00:00
{
"rafamadriz/friendly-snippets",
event = "InsertCharPre"
}
}
2021-06-26 02:27:09 +00:00
}
2021-06-27 16:38:47 +00:00
use {"sbdchd/neoformat", cmd = "Neoformat"}
2021-06-26 02:27:09 +00:00
-- file managing , picker etc
use {
"kyazdani42/nvim-tree.lua",
cmd = "NvimTreeToggle",
config = function()
require "plugins.nvimtree"
2021-07-09 03:44:04 +00:00
end
}
use {
"kyazdani42/nvim-web-devicons",
2021-07-18 11:02:03 +00:00
event = "VimEnter",
2021-07-09 03:44:04 +00:00
config = function()
require "plugins.icons"
2021-06-26 02:27:09 +00:00
end
}
2021-07-18 10:36:33 +00:00
use {"nvim-lua/plenary.nvim", event = "BufRead"}
use {"nvim-lua/popup.nvim", after = "plenary.nvim"}
2021-06-26 02:33:29 +00:00
use {
"nvim-telescope/telescope.nvim",
cmd = "Telescope",
2021-06-26 02:41:39 +00:00
config = function()
require "plugins.telescope"
2021-06-26 02:41:39 +00:00
end
2021-06-26 02:33:29 +00:00
}
2021-06-26 02:27:09 +00:00
2021-07-11 06:50:15 +00:00
use {"nvim-telescope/telescope-fzf-native.nvim", run = "make", cmd = "Telescope"}
use {
"nvim-telescope/telescope-media-files.nvim",
cmd = "Telescope"
}
2021-06-26 02:41:39 +00:00
-- git stuff
2021-06-26 02:15:42 +00:00
use {
"lewis6991/gitsigns.nvim",
2021-07-18 10:36:33 +00:00
after = "plenary.nvim",
2021-06-26 02:15:42 +00:00
config = function()
require "plugins.gitsigns"
2021-06-26 02:15:42 +00:00
end
}
2021-06-26 02:41:39 +00:00
-- misc plugins
2021-06-25 17:36:17 +00:00
use {
"windwp/nvim-autopairs",
after = "nvim-compe",
2021-06-25 17:36:17 +00:00
config = function()
require "plugins.autopairs"
2021-06-25 17:36:17 +00:00
end
}
2021-05-12 17:23:35 +00:00
2021-06-27 16:38:47 +00:00
use {"andymass/vim-matchup", event = "CursorMoved"}
2021-06-26 02:20:10 +00:00
use {
"terrortylor/nvim-comment",
cmd = "CommentToggle",
config = function()
2021-07-16 17:52:36 +00:00
require("plugins.others").comment()
2021-06-26 02:20:10 +00:00
end
}
2021-06-15 10:25:32 +00:00
2021-06-26 02:10:23 +00:00
use {
"glepnir/dashboard-nvim",
cmd = {
2021-06-26 02:41:39 +00:00
"Dashboard",
2021-06-26 02:10:23 +00:00
"DashboardNewFile",
2021-06-27 16:38:47 +00:00
"DashboardJumpMarks",
"SessionLoad",
"SessionSave"
2021-06-26 02:10:23 +00:00
},
setup = function()
require "plugins.dashboard"
2021-06-26 02:10:23 +00:00
end
}
use {"tweekmonster/startuptime.vim", cmd = "StartupTime"}
2021-06-24 17:21:39 +00:00
-- load autosave only if its globally enabled
2021-06-24 17:21:39 +00:00
use {
"Pocco81/AutoSave.nvim",
config = function()
require "plugins.autosave"
end,
2021-06-24 17:21:39 +00:00
cond = function()
return vim.g.auto_save == true
2021-06-24 17:21:39 +00:00
end
}
-- smooth scroll
use {
"karb94/neoscroll.nvim",
event = "WinScrolled",
config = function()
2021-07-16 17:52:36 +00:00
require("plugins.others").neoscroll()
end
}
2021-06-26 02:22:48 +00:00
use {
"Pocco81/TrueZen.nvim",
cmd = {"TZAtaraxis", "TZMinimalist", "TZFocus"},
2021-06-26 02:22:48 +00:00
config = function()
require "plugins.zenmode"
2021-06-26 02:22:48 +00:00
end
}
2021-06-26 02:29:33 +00:00
-- use "alvan/vim-closetag" -- for html autoclosing tag
2021-06-26 02:13:35 +00:00
use {
"lukas-reineke/indent-blankline.nvim",
event = "BufRead",
setup = function()
2021-07-16 17:52:36 +00:00
require("plugins.others").blankline()
2021-06-26 02:13:35 +00:00
end
}
2021-07-09 03:44:04 +00:00
end
2021-03-13 01:23:02 +00:00
)