|
|
@ -1,6 +1,5 @@
|
|
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
local present, _ = pcall(require, "packerInit")
|
|
|
|
local present, _ = pcall(require, "packerInit")
|
|
|
|
|
|
|
|
local packer
|
|
|
|
|
|
|
|
|
|
|
|
if present then
|
|
|
|
if present then
|
|
|
|
packer = require "packer"
|
|
|
|
packer = require "packer"
|
|
|
@ -12,9 +11,15 @@ local use = packer.use
|
|
|
|
|
|
|
|
|
|
|
|
return packer.startup(
|
|
|
|
return packer.startup(
|
|
|
|
function()
|
|
|
|
function()
|
|
|
|
use {"wbthomason/packer.nvim", event = "VimEnter"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"wbthomason/packer.nvim",
|
|
|
|
|
|
|
|
event = "VimEnter"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"akinsho/nvim-bufferline.lua", after = "nvim-base16.lua"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"akinsho/nvim-bufferline.lua",
|
|
|
|
|
|
|
|
after = "nvim-base16.lua"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {
|
|
|
|
use {
|
|
|
|
"glepnir/galaxyline.nvim",
|
|
|
|
"glepnir/galaxyline.nvim",
|
|
|
@ -78,7 +83,7 @@ return packer.startup(
|
|
|
|
config = function()
|
|
|
|
config = function()
|
|
|
|
require "plugins.compe"
|
|
|
|
require "plugins.compe"
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
wants = {"LuaSnip"},
|
|
|
|
wants = "LuaSnip",
|
|
|
|
requires = {
|
|
|
|
requires = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"L3MON4D3/LuaSnip",
|
|
|
|
"L3MON4D3/LuaSnip",
|
|
|
@ -95,7 +100,10 @@ return packer.startup(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"sbdchd/neoformat", cmd = "Neoformat"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"sbdchd/neoformat",
|
|
|
|
|
|
|
|
cmd = "Neoformat"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- file managing , picker etc
|
|
|
|
-- file managing , picker etc
|
|
|
|
use {
|
|
|
|
use {
|
|
|
@ -114,8 +122,14 @@ return packer.startup(
|
|
|
|
end
|
|
|
|
end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"nvim-lua/plenary.nvim", event = "BufRead"}
|
|
|
|
use {
|
|
|
|
use {"nvim-lua/popup.nvim", after = "plenary.nvim"}
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
|
|
|
|
event = "BufRead"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
use {
|
|
|
|
|
|
|
|
"nvim-lua/popup.nvim",
|
|
|
|
|
|
|
|
after = "plenary.nvim"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {
|
|
|
|
use {
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
@ -125,7 +139,11 @@ return packer.startup(
|
|
|
|
end
|
|
|
|
end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"nvim-telescope/telescope-fzf-native.nvim", run = "make", cmd = "Telescope"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
|
|
|
|
|
|
run = "make",
|
|
|
|
|
|
|
|
cmd = "Telescope"
|
|
|
|
|
|
|
|
}
|
|
|
|
use {
|
|
|
|
use {
|
|
|
|
"nvim-telescope/telescope-media-files.nvim",
|
|
|
|
"nvim-telescope/telescope-media-files.nvim",
|
|
|
|
cmd = "Telescope"
|
|
|
|
cmd = "Telescope"
|
|
|
@ -149,7 +167,10 @@ return packer.startup(
|
|
|
|
end
|
|
|
|
end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"andymass/vim-matchup", event = "CursorMoved"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"andymass/vim-matchup",
|
|
|
|
|
|
|
|
event = "CursorMoved"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {
|
|
|
|
use {
|
|
|
|
"terrortylor/nvim-comment",
|
|
|
|
"terrortylor/nvim-comment",
|
|
|
@ -173,7 +194,10 @@ return packer.startup(
|
|
|
|
end
|
|
|
|
end
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
use {"tweekmonster/startuptime.vim", cmd = "StartupTime"}
|
|
|
|
use {
|
|
|
|
|
|
|
|
"tweekmonster/startuptime.vim",
|
|
|
|
|
|
|
|
cmd = "StartupTime"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- load autosave only if its globally enabled
|
|
|
|
-- load autosave only if its globally enabled
|
|
|
|
use {
|
|
|
|
use {
|
|
|
@ -197,7 +221,11 @@ return packer.startup(
|
|
|
|
|
|
|
|
|
|
|
|
use {
|
|
|
|
use {
|
|
|
|
"Pocco81/TrueZen.nvim",
|
|
|
|
"Pocco81/TrueZen.nvim",
|
|
|
|
cmd = {"TZAtaraxis", "TZMinimalist", "TZFocus"},
|
|
|
|
cmd = {
|
|
|
|
|
|
|
|
"TZAtaraxis",
|
|
|
|
|
|
|
|
"TZMinimalist",
|
|
|
|
|
|
|
|
"TZFocus"
|
|
|
|
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
config = function()
|
|
|
|
require "plugins.zenmode"
|
|
|
|
require "plugins.zenmode"
|
|
|
|
end
|
|
|
|
end
|
|
|
|