summary refs log tree commit diff
path: root/.vim/plugin/packer_compiled.vim
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-06-11 13:08:53 +0200
committerRobert Günzler <r@gnzler.io>2021-06-11 13:08:53 +0200
commitbdcbe29a5d91e80de75de8d71cca0516bb2a587d (patch)
tree21441ee6a445fbf73b468b06a26aa79e55642934 /.vim/plugin/packer_compiled.vim
parent7b57c3bad23f76717a2419cb55305210b76de460 (diff)
vim: update packer autoload
Diffstat (limited to '.vim/plugin/packer_compiled.vim')
-rw-r--r--.vim/plugin/packer_compiled.vim53
1 files changed, 27 insertions, 26 deletions
diff --git a/.vim/plugin/packer_compiled.vim b/.vim/plugin/packer_compiled.vim
index 19c1df9..a36d052 100644
--- a/.vim/plugin/packer_compiled.vim
+++ b/.vim/plugin/packer_compiled.vim
@@ -62,8 +62,9 @@ time("try_loadstring definition", true)
 local function try_loadstring(s, component, name)
   local success, result = pcall(loadstring(s))
   if not success then
-    print('Error running ' .. component .. ' for ' .. name)
-    error(result)
+    vim.schedule(function()
+      vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
+    end)
   end
   return result
 end
@@ -258,10 +259,10 @@ _G.packer_plugins = {
 }
 
 time("Defining packer_plugins", false)
--- Config for: nvim-lightbulb
-time("Config for nvim-lightbulb", true)
-require('plugins._lightbulb')
-time("Config for nvim-lightbulb", false)
+-- Config for: telescope.nvim
+time("Config for telescope.nvim", true)
+require('plugins._telescope')
+time("Config for telescope.nvim", false)
 -- Config for: editorconfig-vim
 time("Config for editorconfig-vim", true)
 require('plugins._editorconfig')
@@ -270,42 +271,42 @@ time("Config for editorconfig-vim", false)
 time("Config for neuron.nvim", true)
 require('.plugins._neuron')
 time("Config for neuron.nvim", false)
--- Config for: vim-sneak
-time("Config for vim-sneak", true)
-vim.g['sneak#label'] = true
-time("Config for vim-sneak", false)
+-- Config for: git-messenger.vim
+time("Config for git-messenger.vim", true)
+require('plugins._git-messenger')
+time("Config for git-messenger.vim", false)
 -- Config for: completion-nvim
 time("Config for completion-nvim", true)
 require('plugins._completion')
 time("Config for completion-nvim", false)
+-- Config for: nvim-lightbulb
+time("Config for nvim-lightbulb", true)
+require('plugins._lightbulb')
+time("Config for nvim-lightbulb", false)
 -- Config for: nvim-colorizer.lua
 time("Config for nvim-colorizer.lua", true)
 require('plugins._colorizer')
 time("Config for nvim-colorizer.lua", false)
--- Config for: telescope.nvim
-time("Config for telescope.nvim", true)
-require('plugins._telescope')
-time("Config for telescope.nvim", false)
 -- Config for: vim-signify
 time("Config for vim-signify", true)
 require('plugins._signify')
 time("Config for vim-signify", false)
--- Config for: git-messenger.vim
-time("Config for git-messenger.vim", true)
-require('plugins._git-messenger')
-time("Config for git-messenger.vim", false)
--- Config for: nvim-treesitter
-time("Config for nvim-treesitter", true)
-require('plugins._treesitter')
-time("Config for nvim-treesitter", false)
--- Config for: ultisnips
-time("Config for ultisnips", true)
-require('plugins._ultisnips')
-time("Config for ultisnips", false)
+-- Config for: vim-sneak
+time("Config for vim-sneak", true)
+vim.g['sneak#label'] = true
+time("Config for vim-sneak", false)
 -- Config for: nvim-lspconfig
 time("Config for nvim-lspconfig", true)
 require('plugins._lsp')
 time("Config for nvim-lspconfig", false)
+-- Config for: ultisnips
+time("Config for ultisnips", true)
+require('plugins._ultisnips')
+time("Config for ultisnips", false)
+-- Config for: nvim-treesitter
+time("Config for nvim-treesitter", true)
+require('plugins._treesitter')
+time("Config for nvim-treesitter", false)
 
 -- Command lazy-loads
 time("Defining lazy-load commands", true)