2021-04-26 08:14:51 +00:00
|
|
|
local packer = require("packer")
|
|
|
|
local use = packer.use
|
|
|
|
|
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-04-20 04:15:14 +00:00
|
|
|
-- color related stuff
|
2021-05-06 04:05:23 +00:00
|
|
|
use "siduck76/nvim-base16.lua"
|
2021-04-20 04:15:14 +00:00
|
|
|
use "norcalli/nvim-colorizer.lua"
|
2021-06-01 18:28:24 +00:00
|
|
|
|
|
|
|
-- lang stuff
|
2021-06-25 16:06:13 +00:00
|
|
|
use {
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
event = "BufRead",
|
|
|
|
config = function()
|
|
|
|
require("treesitter-nvim").config()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-04-20 04:15:14 +00:00
|
|
|
use "neovim/nvim-lspconfig"
|
2021-06-24 17:19:42 +00:00
|
|
|
|
2021-06-24 17:21:39 +00:00
|
|
|
-- load compe in insert mode only
|
2021-06-24 17:19:42 +00:00
|
|
|
use {
|
|
|
|
"hrsh7th/nvim-compe",
|
|
|
|
event = "InsertEnter",
|
|
|
|
config = function()
|
|
|
|
require("compe-completion").config()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-06-26 02:01:15 +00:00
|
|
|
use {
|
|
|
|
"onsails/lspkind-nvim",
|
|
|
|
event = "BufRead",
|
|
|
|
config = function()
|
|
|
|
require("lspkind").init()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
|
|
|
use {
|
|
|
|
"sbdchd/neoformat",
|
|
|
|
cmd = "Neoformat"
|
|
|
|
}
|
|
|
|
|
2021-03-31 01:51:27 +00:00
|
|
|
use "nvim-lua/plenary.nvim"
|
2021-06-01 18:28:24 +00:00
|
|
|
use "kabouzeid/nvim-lspinstall"
|
2021-04-20 04:15:14 +00:00
|
|
|
|
2021-06-26 02:15:42 +00:00
|
|
|
use {
|
|
|
|
"lewis6991/gitsigns.nvim",
|
|
|
|
event = "BufRead",
|
|
|
|
config = function()
|
|
|
|
require("gitsigns-nvim").config()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-03-31 01:51:27 +00:00
|
|
|
use "akinsho/nvim-bufferline.lua"
|
2021-04-02 07:53:32 +00:00
|
|
|
use "glepnir/galaxyline.nvim"
|
2021-06-25 17:36:17 +00:00
|
|
|
|
|
|
|
use {
|
|
|
|
"windwp/nvim-autopairs",
|
|
|
|
event = "InsertEnter",
|
|
|
|
config = function()
|
|
|
|
require("nvim-autopairs").setup()
|
|
|
|
end
|
|
|
|
}
|
2021-06-24 17:19:42 +00:00
|
|
|
-- use "alvan/vim-closetag" -- for html
|
2021-05-12 17:23:35 +00:00
|
|
|
|
2021-06-25 16:06:13 +00:00
|
|
|
use "terrortylor/nvim-comment" -- snippet support
|
2021-06-15 10:25:32 +00:00
|
|
|
|
2021-06-25 16:06:13 +00:00
|
|
|
-- snippet
|
2021-06-24 17:21:39 +00:00
|
|
|
use {
|
|
|
|
"hrsh7th/vim-vsnip",
|
|
|
|
event = "InsertCharPre"
|
|
|
|
}
|
2021-05-03 21:57:54 +00:00
|
|
|
use "rafamadriz/friendly-snippets"
|
2021-04-20 04:15:14 +00:00
|
|
|
|
|
|
|
-- file managing , picker etc
|
2021-06-25 17:36:17 +00:00
|
|
|
use {
|
|
|
|
"kyazdani42/nvim-tree.lua",
|
|
|
|
cmd = "NvimTreeToggle",
|
|
|
|
config = function()
|
|
|
|
require("nvimTree").config()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-04-20 04:15:14 +00:00
|
|
|
use "kyazdani42/nvim-web-devicons"
|
2021-03-31 01:51:27 +00:00
|
|
|
use "nvim-telescope/telescope.nvim"
|
|
|
|
use "nvim-telescope/telescope-media-files.nvim"
|
|
|
|
use "nvim-lua/popup.nvim"
|
2021-04-20 04:15:14 +00:00
|
|
|
|
|
|
|
-- misc
|
2021-06-26 02:10:23 +00:00
|
|
|
use {
|
|
|
|
"glepnir/dashboard-nvim",
|
|
|
|
cmd = {
|
|
|
|
"Telescope live_grep",
|
|
|
|
"DashboardNewFile",
|
|
|
|
"DashboardJumpMarks"
|
|
|
|
},
|
|
|
|
setup = function()
|
|
|
|
require("dashboard").config()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-04-20 04:15:14 +00:00
|
|
|
use "tweekmonster/startuptime.vim"
|
2021-06-24 17:21:39 +00:00
|
|
|
|
|
|
|
-- load autosave plugin only if its globally enabled
|
|
|
|
use {
|
|
|
|
"907th/vim-auto-save",
|
|
|
|
cond = function()
|
|
|
|
return vim.g.auto_save == 1
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2021-03-31 02:00:33 +00:00
|
|
|
use "karb94/neoscroll.nvim"
|
2021-04-27 16:43:44 +00:00
|
|
|
use "kdav5758/TrueZen.nvim"
|
2021-05-12 17:23:35 +00:00
|
|
|
use "folke/which-key.nvim"
|
2021-06-26 02:13:35 +00: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
|
|
|
|
}
|
2021-05-07 06:16:32 +00:00
|
|
|
end,
|
|
|
|
{
|
|
|
|
display = {
|
2021-06-01 18:28:24 +00:00
|
|
|
border = {"┌", "─", "┐", "│", "┘", "─", "└", "│"}
|
2021-05-07 06:16:32 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-13 01:23:02 +00:00
|
|
|
)
|