nvim: update
This commit is contained in:
@@ -129,15 +129,10 @@ _G.packer_plugins = {
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
|
||||
url = "https://github.com/lewis6991/gitsigns.nvim"
|
||||
},
|
||||
["glow.nvim"] = {
|
||||
["leap.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/glow.nvim",
|
||||
url = "https://github.com/ellisonleao/glow.nvim"
|
||||
},
|
||||
["impatient.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/impatient.nvim",
|
||||
url = "https://github.com/lewis6991/impatient.nvim"
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/leap.nvim",
|
||||
url = "https://github.com/ggandor/leap.nvim"
|
||||
},
|
||||
["lsp-zero.nvim"] = {
|
||||
loaded = true,
|
||||
@@ -179,8 +174,12 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/neovim/nvim-lspconfig"
|
||||
},
|
||||
["nvim-tree.lua"] = {
|
||||
loaded = true,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
|
||||
commands = { "NvimTreeToggle", "NvimTreeFindFile" },
|
||||
config = { "\27LJ\2\n@\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\vconfig\22plugins/nvim-tree\frequire\0" },
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
only_cond = false,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua",
|
||||
url = "https://github.com/nvim-tree/nvim-tree.lua"
|
||||
},
|
||||
["nvim-treesitter"] = {
|
||||
@@ -242,8 +241,11 @@ _G.packer_plugins = {
|
||||
url = "https://github.com/nvim-telescope/telescope.nvim"
|
||||
},
|
||||
["vim-easy-align"] = {
|
||||
loaded = true,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/start/vim-easy-align",
|
||||
commands = { "EasyAlign" },
|
||||
loaded = false,
|
||||
needs_bufread = false,
|
||||
only_cond = false,
|
||||
path = "/Users/madundead/.local/share/nvim/site/pack/packer/opt/vim-easy-align",
|
||||
url = "https://github.com/junegunn/vim-easy-align"
|
||||
},
|
||||
["vim-fugitive"] = {
|
||||
@@ -347,6 +349,20 @@ time([[Conditional loading of telescope-fzf-native.nvim]], false)
|
||||
|
||||
-- Command lazy-loads
|
||||
time([[Defining lazy-load commands]], true)
|
||||
pcall(vim.api.nvim_create_user_command, 'TSPlaygroundToggle', function(cmdargs)
|
||||
require('packer.load')({'playground'}, { cmd = 'TSPlaygroundToggle', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
end,
|
||||
{nargs = '*', range = true, bang = true, complete = function()
|
||||
require('packer.load')({'playground'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('TSPlaygroundToggle ', 'cmdline')
|
||||
end})
|
||||
pcall(vim.api.nvim_create_user_command, 'EasyAlign', function(cmdargs)
|
||||
require('packer.load')({'vim-easy-align'}, { cmd = 'EasyAlign', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
end,
|
||||
{nargs = '*', range = true, bang = true, complete = function()
|
||||
require('packer.load')({'vim-easy-align'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('EasyAlign ', 'cmdline')
|
||||
end})
|
||||
pcall(vim.api.nvim_create_user_command, 'StartupTime', function(cmdargs)
|
||||
require('packer.load')({'vim-startuptime'}, { cmd = 'StartupTime', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
end,
|
||||
@@ -354,12 +370,19 @@ pcall(vim.api.nvim_create_user_command, 'StartupTime', function(cmdargs)
|
||||
require('packer.load')({'vim-startuptime'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('StartupTime ', 'cmdline')
|
||||
end})
|
||||
pcall(vim.api.nvim_create_user_command, 'TSPlaygroundToggle', function(cmdargs)
|
||||
require('packer.load')({'playground'}, { cmd = 'TSPlaygroundToggle', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
pcall(vim.api.nvim_create_user_command, 'NvimTreeToggle', function(cmdargs)
|
||||
require('packer.load')({'nvim-tree.lua'}, { cmd = 'NvimTreeToggle', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
end,
|
||||
{nargs = '*', range = true, bang = true, complete = function()
|
||||
require('packer.load')({'playground'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('TSPlaygroundToggle ', 'cmdline')
|
||||
require('packer.load')({'nvim-tree.lua'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('NvimTreeToggle ', 'cmdline')
|
||||
end})
|
||||
pcall(vim.api.nvim_create_user_command, 'NvimTreeFindFile', function(cmdargs)
|
||||
require('packer.load')({'nvim-tree.lua'}, { cmd = 'NvimTreeFindFile', l1 = cmdargs.line1, l2 = cmdargs.line2, bang = cmdargs.bang, args = cmdargs.args, mods = cmdargs.mods }, _G.packer_plugins)
|
||||
end,
|
||||
{nargs = '*', range = true, bang = true, complete = function()
|
||||
require('packer.load')({'nvim-tree.lua'}, {}, _G.packer_plugins)
|
||||
return vim.fn.getcompletion('NvimTreeFindFile ', 'cmdline')
|
||||
end})
|
||||
time([[Defining lazy-load commands]], false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user