Skip to content

Instantly share code, notes, and snippets.

@y9c
Created February 19, 2021 10:50
Show Gist options
  • Save y9c/41db0d1dc516102a5b36079078b8b73d to your computer and use it in GitHub Desktop.
Save y9c/41db0d1dc516102a5b36079078b8b73d to your computer and use it in GitHub Desktop.
" Automatically generated packer.nvim plugin loader code
if !has('nvim-0.5')
echohl WarningMsg
echom "Invalid Neovim version for packer.nvim!"
echohl None
finish
endif
packadd packer.nvim
try
lua << END
local package_path_str = "/home/yc/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/yc/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/yc/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/yc/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/yc/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
package.path = package.path .. ';' .. package_path_str
end
if not string.find(package.cpath, install_cpath_pattern, 1, true) then
package.cpath = package.cpath .. ';' .. install_cpath_pattern
end
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)
end
return result
end
_G.packer_plugins = {
["accelerated-jk"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/accelerated-jk"
},
["astronauta.nvim"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/astronauta.nvim"
},
["dashboard-nvim"] = {
config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19conf.dashboard\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/dashboard-nvim"
},
["formatter.nvim"] = {
config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19conf.formatter\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/formatter.nvim"
},
["galaxyline.nvim"] = {
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20conf.statusline\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/galaxyline.nvim"
},
["indent-guides.nvim"] = {
config = { "\27LJ\2\n\1\0\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\0025\3\6\0=\3\a\2B\0\2\1K\0\1\0\15odd_colors\1\0\2\abg\f#2E323A\afg\f#BBC2CF\16even_colors\1\0\2\abg\f#34383F\afg\f#ABB0BA\1\0\5\22indent_tab_guides\1\24indent_space_guides\2\23indent_start_level\3\1\22indent_guide_size\3\1\18indent_levels\3\30\nsetup\18indent_guides\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/indent-guides.nvim"
},
["lspsaga.nvim"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/lspsaga.nvim"
},
["nvim-bufferline.lua"] = {
config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20conf.bufferline\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua"
},
["nvim-colorizer.lua"] = {
config = { "\27LJ\2\n7\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\nsetup\14colorizer\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
},
["nvim-compe"] = {
after_files = { "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_buffer.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_calc.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_nvim_lsp.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_nvim_lua.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_omni.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_path.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_snippets_nvim.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_spell.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_tags.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_treesitter.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_ultisnips.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_vim_lsc.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_vim_lsp.vim", "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe_vsnip.vim" },
config = { "\27LJ\2\n-\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\18conf.complete\frequire\0" },
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-compe"
},
["nvim-lspconfig"] = {
config = { "\27LJ\2\n(\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\rconf.lsp\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/nvim-lspconfig"
},
["nvim-lspupdate"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/nvim-lspupdate"
},
["nvim-tree.lua"] = {
commands = { "NvimTreeToggle", "NvimTreeOpen" },
config = { "\27LJ\2\n\2\0\0\3\0\r\0\0256\0\0\0009\0\1\0)\1\1\0=\1\2\0006\0\0\0009\0\1\0)\1\1\0=\1\3\0006\0\0\0009\0\1\0)\1\1\0=\1\4\0006\0\0\0009\0\1\0005\1\a\0005\2\6\0=\2\b\1=\1\5\0006\0\0\0009\0\1\0005\1\n\0005\2\v\0=\2\f\1=\1\t\0K\0\1\0\bgit\1\0\5\frenamed\b≫\runmerged\b≠\vstaged\b✚\runstaged\b✚\14untracked\b★\1\0\2\fsymlink\b\fdefault\b\20nvim_tree_icons\tedit\1\0\2\15edit_split\6i\16edit_vsplit\6s\1\3\0\0\t<CR>\6l\23nvim_tree_bindings\29nvim_tree_indent_markers\28nvim_tree_hide_dotfiles\21nvim_tree_follow\6g\bvim\0" },
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua"
},
["nvim-treesitter"] = {
after = { "nvim-treesitter-textobjects" },
config = { "\27LJ\2\n\3\0\0\6\0\17\0\0256\0\0\0009\0\1\0009\0\2\0'\2\3\0B\0\2\0016\0\0\0009\0\1\0009\0\2\0'\2\4\0B\0\2\0016\0\5\0'\2\6\0B\0\2\0029\0\a\0005\2\t\0005\3\b\0=\3\n\0025\3\14\0005\4\v\0005\5\f\0=\5\r\4=\4\15\3=\3\16\2B\0\2\1K\0\1\0\16textobjects\vselect\1\0\0\fkeymaps\1\0\4\aac\[email protected]\aic\[email protected]\aaf\[email protected]\aif\[email protected]\1\0\1\venable\2\14highlight\1\0\1\21ensure_installed\ball\1\0\1\venable\2\nsetup\28nvim-treesitter.configs\frequire,set foldexpr=nvim_treesitter#foldexpr()\24set foldmethod=expr\17nvim_command\bapi\bvim\0" },
load_after = {},
loaded = false,
needs_bufread = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-treesitter"
},
["nvim-treesitter-textobjects"] = {
load_after = {
["nvim-treesitter"] = true
},
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects"
},
["nvim-web-devicons"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/nvim-web-devicons"
},
["packer.nvim"] = {
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/packer.nvim"
},
["plenary.nvim"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/plenary.nvim"
},
["popup.nvim"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/popup.nvim"
},
["sql.nvim"] = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/sql.nvim"
},
tcomment_vim = {
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/tcomment_vim"
},
["telescope-frecency.nvim"] = {
config = { "\27LJ\2\n\1\0\0\6\0\v\0\0156\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0'\2\a\0'\3\b\0'\4\t\0005\5\n\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2E<Cmd>lua require('telescope').extensions.frecency.frecency()<CR>\15<Leader>fm\6n\20nvim_set_keymap\bapi\bvim\rfrecency\19load_extension\14telescope\frequire\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/telescope-frecency.nvim"
},
["telescope.nvim"] = {
after = { "nvim-treesitter" },
only_config = true
},
["vim-matchup"] = {
after_files = { "/home/yc/.local/share/nvim/site/pack/packer/opt/vim-matchup/after/plugin/matchit.vim" },
loaded = false,
needs_bufread = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/vim-matchup"
},
["vim-quickrun"] = {
config = { "\27LJ\2\n\1\0\0\6\0\n\0\0176\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\a\0'\3\4\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2\31<plug>QuickRun -mode v<cr>\6v\1\0\2\fnoremap\2\vsilent\2\31<plug>QuickRun -mode n<cr>\14<leader>r\6n\20nvim_set_keymap\bapi\bvim\0" },
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/vim-quickrun"
},
["vim-signify"] = {
config = { "\27LJ\2\n\1\0\0\2\0\t\0\0216\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\0\0009\0\1\0'\1\3\0=\1\4\0006\0\0\0009\0\1\0'\1\3\0=\1\5\0006\0\0\0009\0\1\0'\1\a\0=\1\6\0006\0\0\0009\0\1\0)\1\0\0=\1\b\0K\0\1\0\28signify_sign_show_count\b▘#signify_sign_delete_first_line\24signify_sign_delete\24signify_sign_change\b▋\21signify_sign_add\6g\bvim\0" },
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/vim-signify"
},
["vim-translator"] = {
config = { "\27LJ\2\n|\0\0\2\0\5\0\t6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0005\1\4\0=\1\3\0K\0\1\0\1\4\0\0\tbing\nhaici\vyoudao\31translator_default_engines\30translator_history_enable\6g\bvim\0" },
loaded = true,
path = "/home/yc/.local/share/nvim/site/pack/packer/start/vim-translator"
},
["vim-vsnip"] = {
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/vim-vsnip"
},
["vista.vim"] = {
commands = { "Vista" },
config = { "\27LJ\2\n\3\0\0\2\0\14\0\0296\0\0\0009\0\1\0)\1\1\0=\1\2\0006\0\0\0009\0\1\0)\1\1\0=\1\3\0006\0\0\0009\0\1\0005\1\5\0=\1\4\0006\0\0\0009\0\1\0'\1\a\0=\1\6\0006\0\0\0009\0\1\0'\1\t\0=\1\b\0006\0\0\0009\0\1\0'\1\v\0=\1\n\0006\0\0\0009\0\1\0005\1\r\0=\1\f\0K\0\1\0\1\0\5\rmarkdown\btoc\20typescriptreact\rnvim_lsp\15typescript\rnvim_lsp\vpandoc\rmarkdown\fvimwiki\rmarkdown\24vista_executive_for\rmarkdown\28vista_vimwiki_executive\17floating_win\31vista_echo_cursor_strategy\nctags\28vista_default_executive\1\3\0\0\15╰─▸ \15├─▸ \22vista_icon_indent\29vista_disable_statusline\31vista#renderer#enable_icon\6g\bvim\0" },
loaded = false,
needs_bufread = false,
path = "/home/yc/.local/share/nvim/site/pack/packer/opt/vista.vim"
}
}
-- Setup for: vim-quickrun
try_loadstring("\27LJ\2\nB\0\0\2\0\3\0\0056\0\0\0009\0\1\0)\1\1\0=\1\2\0K\0\1\0%quickrun_no_default_key_mappings\6g\bvim\0", "setup", "vim-quickrun")
vim.cmd [[packadd vim-quickrun]]
-- Config for: vim-translator
try_loadstring("\27LJ\2\n|\0\0\2\0\5\0\t6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0005\1\4\0=\1\3\0K\0\1\0\1\4\0\0\tbing\nhaici\vyoudao\31translator_default_engines\30translator_history_enable\6g\bvim\0", "config", "vim-translator")
-- Config for: telescope-frecency.nvim
try_loadstring("\27LJ\2\n\1\0\0\6\0\v\0\0156\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0009\0\6\0'\2\a\0'\3\b\0'\4\t\0005\5\n\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2E<Cmd>lua require('telescope').extensions.frecency.frecency()<CR>\15<Leader>fm\6n\20nvim_set_keymap\bapi\bvim\rfrecency\19load_extension\14telescope\frequire\0", "config", "telescope-frecency.nvim")
-- Config for: indent-guides.nvim
try_loadstring("\27LJ\2\n\1\0\0\4\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\0025\3\6\0=\3\a\2B\0\2\1K\0\1\0\15odd_colors\1\0\2\abg\f#2E323A\afg\f#BBC2CF\16even_colors\1\0\2\abg\f#34383F\afg\f#ABB0BA\1\0\5\22indent_tab_guides\1\24indent_space_guides\2\23indent_start_level\3\1\22indent_guide_size\3\1\18indent_levels\3\30\nsetup\18indent_guides\frequire\0", "config", "indent-guides.nvim")
-- Config for: vim-quickrun
try_loadstring("\27LJ\2\n\1\0\0\6\0\n\0\0176\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\1\0009\0\2\0'\2\a\0'\3\4\0'\4\b\0005\5\t\0B\0\5\1K\0\1\0\1\0\2\fnoremap\2\vsilent\2\31<plug>QuickRun -mode v<cr>\6v\1\0\2\fnoremap\2\vsilent\2\31<plug>QuickRun -mode n<cr>\14<leader>r\6n\20nvim_set_keymap\bapi\bvim\0", "config", "vim-quickrun")
-- Config for: formatter.nvim
try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19conf.formatter\frequire\0", "config", "formatter.nvim")
-- Config for: dashboard-nvim
try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19conf.dashboard\frequire\0", "config", "dashboard-nvim")
-- Config for: nvim-colorizer.lua
try_loadstring("\27LJ\2\n7\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\nsetup\14colorizer\frequire\0", "config", "nvim-colorizer.lua")
-- Config for: telescope.nvim
try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19conf.telescope\frequire\0", "config", "telescope.nvim")
-- Config for: galaxyline.nvim
try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20conf.statusline\frequire\0", "config", "galaxyline.nvim")
-- Config for: nvim-lspconfig
try_loadstring("\27LJ\2\n(\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\rconf.lsp\frequire\0", "config", "nvim-lspconfig")
-- Config for: nvim-bufferline.lua
try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20conf.bufferline\frequire\0", "config", "nvim-bufferline.lua")
-- Command lazy-loads
vim.cmd [[command! -nargs=* -range -bang -complete=file NvimTreeOpen lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeOpen", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]
vim.cmd [[command! -nargs=* -range -bang -complete=file Vista lua require("packer.load")({'vista.vim'}, { cmd = "Vista", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]
vim.cmd [[command! -nargs=* -range -bang -complete=file NvimTreeToggle lua require("packer.load")({'nvim-tree.lua'}, { cmd = "NvimTreeToggle", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]
vim.cmd [[augroup packer_load_aucmds]]
vim.cmd [[au!]]
-- Event lazy-loads
vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-treesitter'}, { event = "BufRead *" }, _G.packer_plugins)]]
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-compe'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'vim-matchup'}, { event = "VimEnter *" }, _G.packer_plugins)]]
vim.cmd [[au InsertCharPre * ++once lua require("packer.load")({'vim-vsnip'}, { event = "InsertCharPre *" }, _G.packer_plugins)]]
vim.cmd [[au BufNewFile * ++once lua require("packer.load")({'vim-signify'}, { event = "BufNewFile *" }, _G.packer_plugins)]]
vim.cmd [[au BufReadPre * ++once lua require("packer.load")({'vim-signify'}, { event = "BufReadPre *" }, _G.packer_plugins)]]
vim.cmd("augroup END")
END
catch
echohl ErrorMsg
echom "Error in packer_compiled: " .. v:exception
echom "Please check your config for correctness"
echohl None
endtry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment