Open AbdelrahmanDwedar opened 1 year ago
nvim --version
git --version
~/.config/nvim/lua/plugins.lua
:PackerCompile
:PackerInstall
None of the provided plugins has been installed in about 0.157s.
0.157s
Basically cloning the repositories and running everything fine.
Same problem
nvim --version
: v0.7.2git --version
: 2.37.3Steps to reproduce
~/.config/nvim/lua/plugins.lua
:PackerCompile
then:PackerInstall
Actual behaviour
None of the provided plugins has been installed in about
0.157s
.Expected behaviour
Basically cloning the repositories and running everything fine.
packer files
Plugin specification file(s)
[`plugins.lua` file from my neovim configuration repository](https://github.com/AbdelrahmanDwedar/neovim-config/blob/main/lua/plugins.lua)packer log file
`there was no generated log file`packer compiled file
```lua -- Automatically generated packer.nvim plugin loader code if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') return end vim.api.nvim_command('packadd packer.nvim') local no_errors, error_msg = pcall(function() _G._packer = _G._packer or {} _G._packer.inside_compile = true local time local profile_info local should_profile = false if should_profile then local hrtime = vim.loop.hrtime profile_info = {} time = function(chunk, start) if start then profile_info[chunk] = hrtime() else profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 end end else time = function(chunk, start) end end local function save_profiles(threshold) local sorted_times = {} for chunk_name, time_taken in pairs(profile_info) do sorted_times[#sorted_times + 1] = {chunk_name, time_taken} end table.sort(sorted_times, function(a, b) return a[2] > b[2] end) local results = {} for i, elem in ipairs(sorted_times) do if not threshold or threshold and elem[2] > threshold then results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' end end if threshold then table.insert(results, '(Only showing plugins that took longer than ' .. threshold .. ' ms ' .. 'to load)') end _G._packer.profile_output = results end time([[Luarocks path setup]], true) local package_path_str = "/data/data/com.termux/files/home/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/data/data/com.termux/files/home/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/data/data/com.termux/files/home/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/data/data/com.termux/files/home/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local install_cpath_pattern = "/data/data/com.termux/files/home/.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 time([[Luarocks path setup]], false) time([[try_loadstring definition]], true) local function try_loadstring(s, component, name) local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) if not success then vim.schedule(function() vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) end) end return result end time([[try_loadstring definition]], false) time([[Defining packer_plugins]], true) _G.packer_plugins = { ["awesome-vim-colorschemes"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/awesome-vim-colorschemes", url = "https://github.com/rafi/awesome-vim-colorschemes" }, ["coc.nvim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/coc.nvim", url = "https://github.com/neoclide/coc.nvim" }, ["emmet-vim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/emmet-vim", url = "https://github.com/mattn/emmet-vim" }, ["lualine.nvim"] = { config = { "\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\flualine\frequire\0" }, loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" }, ["markdown-preview.nvim"] = { commands = { "MarkdownPreview" }, loaded = false, needs_bufread = false, only_cond = false, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/opt/markdown-preview.nvim", url = "https://github.com/iamcco/markdown-preview.nvim" }, ["nvim-autopairs"] = { config = { "\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0" }, loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/nvim-autopairs", url = "https://github.com/windwp/nvim-autopairs" }, ["nvim-tree.lua"] = { config = { "\27LJ\2\n�\3\0\0\a\0\20\0\0296\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0005\4\n\0004\5\6\0005\6\5\0>\6\1\0055\6\6\0>\6\2\0055\6\a\0>\6\3\0055\6\b\0>\6\4\0055\6\t\0>\6\5\5=\5\v\4=\4\f\3=\3\r\0025\3\14\0=\3\15\0025\3\16\0005\4\17\0=\4\18\3=\3\19\2B\0\2\1K\0\1\0\ffilters\vcustom\1\2\0\0\t.git\1\0\1\rdotfiles\1\rrenderer\1\0\1\16group_empty\2\tview\rmappings\tlist\1\0\0\1\0\2\bkey\6C\vaction\acd\1\0\2\bkey\6v\vaction\vvsplit\1\0\2\bkey\6s\vaction\nsplit\1\0\2\bkey\6t\vaction\vtabnew\1\0\2\bkey\6u\vaction\vdir_up\1\0\2\25centralize_selection\1\18adaptive_size\2\1\0\2\18hijack_cursor\2\fsort_by\19case_sensitive\nsetup\14nvim-tree\frequire\0" }, loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/nvim-tree.lua", url = "https://github.com/kyazdani42/nvim-tree.lua" }, ["nvim-web-devicons"] = { loaded = false, needs_bufread = false, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons", url = "https://github.com/kyazdani42/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, ["plenary.nvim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["presence.nvim"] = { config = { "\27LJ\2\n�\3\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\2\18\2\0\0009\0\2\0005\3\3\0004\4\0\0=\4\4\3B\0\3\1K\0\1\0\14blacklist\1\0\r\fbuttons\1\23enable_line_number\1\21debounce_timeout\3\n\15main_image\vneovim\19workspace_text\16Project: %s\22neovim_image_text\vNeoVim\16auto_update\2\17reading_text\15Reading %s\24plugin_manager_text\21Managing plugins\14client_id\023793271441293967371\20git_commit_text\23Committing changes\23file_explorer_text\16Browsing %s\17editing_text\15Editing %s\nsetup\rpresence\frequire\0" }, loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/presence.nvim", url = "https://github.com/andweeb/presence.nvim" }, ["tabline.nvim"] = { config = { "\27LJ\2\n�\1\0\0\5\0\n\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0005\4\5\0=\4\6\0035\4\a\0=\4\b\3=\3\t\2B\0\2\1K\0\1\0\foptions\25component_separators\1\3\0\0\b\b\23section_separators\1\3\0\0\b\b\1\0\5\20modified_italic\1\23show_filename_only\2\18show_devicons\2\21show_tabs_always\1\19show_tabs_only\2\1\0\1\venable\2\nsetup\ftabline\frequire\0" }, loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/tabline.nvim", url = "https://github.com/kdheepak/tabline.nvim" }, ["telescope-fzf-native.nvim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/telescope-fzf-native.nvim", url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim" }, ["telescope.nvim"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["vim-commentary"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/vim-commentary", url = "https://github.com/tpope/vim-commentary" }, ["vim-css-color"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/vim-css-color", url = "https://github.com/ap/vim-css-color" }, ["vim-surround"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/vim-surround", url = "https://github.com/tpope/vim-surround" }, ["vim-wakatime"] = { loaded = true, path = "/data/data/com.termux/files/home/.local/share/nvim/site/pack/packer/start/vim-wakatime", url = "https://github.com/wakatime/vim-wakatime" } } time([[Defining packer_plugins]], false) -- Config for: presence.nvim time([[Config for presence.nvim]], true) try_loadstring("\27LJ\2\n�\3\0\0\5\0\5\0\n6\0\0\0'\2\1\0B\0\2\2\18\2\0\0009\0\2\0005\3\3\0004\4\0\0=\4\4\3B\0\3\1K\0\1\0\14blacklist\1\0\r\fbuttons\1\23enable_line_number\1\21debounce_timeout\3\n\15main_image\vneovim\19workspace_text\16Project: %s\22neovim_image_text\vNeoVim\16auto_update\2\17reading_text\15Reading %s\24plugin_manager_text\21Managing plugins\14client_id\023793271441293967371\20git_commit_text\23Committing changes\23file_explorer_text\16Browsing %s\17editing_text\15Editing %s\nsetup\rpresence\frequire\0", "config", "presence.nvim") time([[Config for presence.nvim]], false) -- Config for: tabline.nvim time([[Config for tabline.nvim]], true) try_loadstring("\27LJ\2\n�\1\0\0\5\0\n\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0005\4\5\0=\4\6\0035\4\a\0=\4\b\3=\3\t\2B\0\2\1K\0\1\0\foptions\25component_separators\1\3\0\0\b\b\23section_separators\1\3\0\0\b\b\1\0\5\20modified_italic\1\23show_filename_only\2\18show_devicons\2\21show_tabs_always\1\19show_tabs_only\2\1\0\1\venable\2\nsetup\ftabline\frequire\0", "config", "tabline.nvim") time([[Config for tabline.nvim]], false) -- Config for: nvim-autopairs time([[Config for nvim-autopairs]], true) try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") time([[Config for nvim-autopairs]], false) -- Config for: nvim-tree.lua time([[Config for nvim-tree.lua]], true) try_loadstring("\27LJ\2\n�\3\0\0\a\0\20\0\0296\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0005\4\n\0004\5\6\0005\6\5\0>\6\1\0055\6\6\0>\6\2\0055\6\a\0>\6\3\0055\6\b\0>\6\4\0055\6\t\0>\6\5\5=\5\v\4=\4\f\3=\3\r\0025\3\14\0=\3\15\0025\3\16\0005\4\17\0=\4\18\3=\3\19\2B\0\2\1K\0\1\0\ffilters\vcustom\1\2\0\0\t.git\1\0\1\rdotfiles\1\rrenderer\1\0\1\16group_empty\2\tview\rmappings\tlist\1\0\0\1\0\2\bkey\6C\vaction\acd\1\0\2\bkey\6v\vaction\vvsplit\1\0\2\bkey\6s\vaction\nsplit\1\0\2\bkey\6t\vaction\vtabnew\1\0\2\bkey\6u\vaction\vdir_up\1\0\2\25centralize_selection\1\18adaptive_size\2\1\0\2\18hijack_cursor\2\fsort_by\19case_sensitive\nsetup\14nvim-tree\frequire\0", "config", "nvim-tree.lua") time([[Config for nvim-tree.lua]], false) -- Config for: lualine.nvim time([[Config for lualine.nvim]], true) try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\flualine\frequire\0", "config", "lualine.nvim") time([[Config for lualine.nvim]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file MarkdownPreview lua require("packer.load")({'markdown-preview.nvim'}, { cmd = "MarkdownPreview", l1 =