my-nvim-setup/lua/pluginList.lua

172 lines
4.3 KiB
Lua
Raw Normal View History

2021-04-26 09:14:51 +01:00
local packer = require("packer")
local use = packer.use
2021-06-14 15:25:41 +01:00
return packer.startup(
2021-03-13 01:23:02 +00:00
function()
2021-06-01 19:28:24 +01:00
use "wbthomason/packer.nvim"
2021-06-26 03:27:09 +01:00
use "akinsho/nvim-bufferline.lua"
use "glepnir/galaxyline.nvim"
2021-04-20 05:15:14 +01:00
-- color related stuff
2021-05-06 05:05:23 +01:00
use "siduck76/nvim-base16.lua"
2021-06-26 03:31:09 +01:00
use "norcalli/nvim-colorizer.lua"
2021-06-01 19:28:24 +01:00
2021-06-26 03:27:09 +01:00
-- language related plugins
2021-06-25 17:06:13 +01:00
use {
"nvim-treesitter/nvim-treesitter",
event = "BufRead",
config = function()
require("treesitter-nvim").config()
end
}
2021-06-24 18:19:42 +01:00
use {
2021-06-26 03:27:09 +01:00
"neovim/nvim-lspconfig",
event = "BufRead",
2021-06-24 18:19:42 +01:00
config = function()
2021-06-26 03:27:09 +01:00
require("nvim-lspconfig").config()
2021-06-24 18:19:42 +01:00
end
}
2021-06-26 03:27:09 +01:00
use "kabouzeid/nvim-lspinstall"
use {
"onsails/lspkind-nvim",
event = "BufRead",
config = function()
require("lspkind").init()
end
}
2021-06-26 03:27:09 +01:00
-- load compe in insert mode only
use {
"hrsh7th/nvim-compe",
event = "InsertEnter",
config = function()
require("compe-completion").config()
end
}
use {
"sbdchd/neoformat",
cmd = "Neoformat"
}
2021-03-31 02:51:27 +01:00
use "nvim-lua/plenary.nvim"
2021-04-20 05:15:14 +01:00
2021-06-26 03:27:09 +01:00
-- snippet support
use {
"hrsh7th/vim-vsnip",
event = "InsertCharPre"
}
use "rafamadriz/friendly-snippets"
-- file managing , picker etc
use {
"kyazdani42/nvim-tree.lua",
cmd = "NvimTreeToggle",
config = function()
require("nvimTree").config()
end
}
use "kyazdani42/nvim-web-devicons"
use "nvim-telescope/telescope.nvim"
use "nvim-telescope/telescope-media-files.nvim"
use "nvim-lua/popup.nvim"
-- misc plugins
2021-06-26 03:15:42 +01:00
use {
"lewis6991/gitsigns.nvim",
event = "BufRead",
config = function()
require("gitsigns-nvim").config()
end
}
2021-06-25 18:36:17 +01:00
use {
"windwp/nvim-autopairs",
event = "InsertEnter",
config = function()
require("nvim-autopairs").setup()
end
}
2021-05-12 18:23:35 +01:00
use {
"andymass/vim-matchup",
event = "CursorMoved"
}
2021-06-26 03:20:10 +01:00
use {
"terrortylor/nvim-comment",
cmd = "CommentToggle",
config = function()
require("nvim_comment").setup()
end
}
2021-06-15 11:25:32 +01:00
2021-06-26 03:10:23 +01:00
use {
"glepnir/dashboard-nvim",
cmd = {
"Telescope live_grep",
"DashboardNewFile",
"DashboardJumpMarks"
},
setup = function()
require("dashboard").config()
end
}
use {"tweekmonster/startuptime.vim", cmd = "StartupTime"}
2021-06-24 18:21:39 +01:00
-- load autosave plugin only if its globally enabled
use {
"907th/vim-auto-save",
cond = function()
return vim.g.auto_save == 1
end
}
-- smooth scroll
use {
"karb94/neoscroll.nvim",
event = "WinScrolled",
config = function()
require("neoscroll").setup()
end
}
2021-06-26 03:22:48 +01:00
use {
"kdav5758/TrueZen.nvim",
cmd = {"TZAtaraxis", "TZMinimalist"},
config = function()
require("zenmode").config()
end
}
2021-06-26 03:29:33 +01:00
-- use "alvan/vim-closetag" -- for html autoclosing tag
2021-06-26 03:13:35 +01:00
use {
"lukas-reineke/indent-blankline.nvim",
branch = "lua",
event = "BufRead",
setup = function()
vim.g.indentLine_enabled = 1
vim.g.indent_blankline_char = ""
vim.g.indent_blankline_filetype_exclude = {"help", "terminal", "dashboard"}
vim.g.indent_blankline_buftype_exclude = {"terminal"}
vim.g.indent_blankline_show_trailing_blankline_indent = false
vim.g.indent_blankline_show_first_indent_level = false
end
}
end,
{
display = {
2021-06-01 19:28:24 +01:00
border = {"", "", "", "", "", "", "", ""}
}
}
2021-03-13 01:23:02 +00:00
)