wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.87k stars 266 forks source link

"Undefined variable: packer" on startup and on PackerCompile #603

Closed maltalef101 closed 3 years ago

maltalef101 commented 3 years ago

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/share/nvim"

- `git --version`:
```git version 2.33.0```

- Operating system/version:
Arch Linux (Linux 5.10.64-1-lts)
- Terminal name/version:
```alacritty 0.9.0```

### Actual behaviour
This error on startup and when executing `:PackerCompile`

- On startup:
![image](https://user-images.githubusercontent.com/64824522/133539150-216acc6d-bd35-444f-a9b7-96872e166cad.png)

- On `:PackerCompile`:
![image](https://user-images.githubusercontent.com/64824522/133539213-36892172-0c2f-4009-8227-afbc2313ae79.png)

### Expected behaviour
No error, I'd hope.

### packer files

<details>
<summary>Plugin specification file(s)</summary>

```lua
vim.cmd("packadd packer.nvim")

return require('packer').startup(function(use)
    -- Packer can manage itself
    use 'wbthomason/packer.nvim'

    -- LSP magic
    use 'neovim/nvim-lspconfig'

    -- Galaxyline
    use { 'glepnir/galaxyline.nvim',
        branch = 'main',
        config = function() require "core.galaxyline" end,
    requires = { 'kyazdani42/nvim-web-devicons', opt = true },
    }

    use { 'kabouzeid/nvim-lspinstall',
        config = function() require('lspinstall').setup() end,
    }

    use { 'hrsh7th/nvim-compe',
        event = "InsertEnter",
        config = function() require('core.compe').setup() end,
        requires = {
            {
                'L3MON4D3/LuaSnip',
                event = "InsertEnter",
            },
            {
                'rafamadriz/friendly-snippets',
                event = "InserCharPre",
            },
        },
    }

    -- Treesitter
    use { 'nvim-treesitter/nvim-treesitter',
        branch = '0.5-compat',
        config = function() require('core.treesitter') end,
        run = ':TSUpdate',
    }

    -- Telescope for fuzzy file-searching
    use { 'nvim-telescope/telescope.nvim',
        config = function() require('core.telescope') end,
        requires = {
            'nvim-lua/popup.nvim',
            'nvim-lua/plenary.nvim',
            'nvim-telescope/telescope-fzy-native.nvim'
        },
    }

    -- Gruvbox !!1!11
    use { 'ellisonleao/gruvbox.nvim',
        requires = 'rktjmp/lush.nvim',
    }

    -- Git related plugins
    use 'tpope/vim-fugitive'
    use { 'lewis6991/gitsigns.nvim',
        requires = 'nvim-lua/plenary.nvim',
        config = function() require('gitsigns').setup() end,
        event = 'BufRead',
    }

    -- nerdfonts
    use 'lambdalisue/nerdfont.vim'

    -- NvimTree
    use { 'kyazdani42/nvim-tree.lua',
        config = function() require('core.nvimtree').setup() end
    }

    -- indent-blankline
    use { "lukas-reineke/indent-blankline.nvim",
        event = 'BufRead',
        config = function() require('core.indent-blankline').setup() end,
    }

    -- autocomplete closing brackets and such
    use { 'windwp/nvim-autopairs',
        config = function() require('core.autopairs') end,
    requires = 'kyazdani42/nvim-web-devicons',
        after = "nvim-compe",
    }

    use { 'norcalli/nvim-colorizer.lua',
        config = function() require('core.colorizer') end,
    }

    use { 'romgrk/barbar.nvim',
    requires =  'kyazdani42/nvim-web-devicons',
    }

end)

packer log file ``` [ERROR Sun 11 Apr 2021 06:09:04 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:494: Failure running setup function: "/home/maltalef/.config/nvim/lua/nv-galaxyline/init.lua:1: module 'galaxyline' not found:\n\tno field package.preload['galaxyline']\n\tno file './galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline/init.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline/init.lua'\n\tno file './galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/galaxyline.so'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/loadall.so'" [INFO Sun 11 Apr 2021 06:09:10 PM -03] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:78: Already clean! [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed kosayoda/nvim-lightbulb [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed ChristianChiarulli/html-snippets [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed kyazdani42/nvim-web-devicons [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed mfussenegger/nvim-jdtls [ERROR Sun 11 Apr 2021 06:09:11 PM -03] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:139: Vim(lua):E5108: Error executing lua ...r/start/nvim-ts-autotag/lua/nvim-ts-autotag/internal.lua:4: module 'nvim-treesitter.configs' not found: no field package.preload['nvim-treesitter.configs'] no file './nvim-treesitter/configs.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/configs.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/configs.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/configs/init.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/configs.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/configs/init.lua' no file './nvim-treesitter/configs.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/configs.so' no file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/configs.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:26: Failed to install windwp/nvim-ts-autotag: "Nil result in and_then! \"stack traceback:\\n\\t...site/pack/packer/start/packer.nvim/lua/packer/result.lua:8: in function 'and_then'\\n\\t...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:20: in function <...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:15>\"" [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed kabouzeid/nvim-lspinstall [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed lukas-reineke/indent-blankline.nvim/lua [DEBUG Sun 11 Apr 2021 06:09:11 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed glepnir/lspsaga.nvim [DEBUG Sun 11 Apr 2021 06:09:12 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed hrsh7th/nvim-compe [DEBUG Sun 11 Apr 2021 06:09:12 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed mfussenegger/nvim-dap [DEBUG Sun 11 Apr 2021 06:09:12 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed neovim/nvim-lspconfig [DEBUG Sun 11 Apr 2021 06:09:12 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed hrsh7th/vim-vsnip [DEBUG Sun 11 Apr 2021 06:09:12 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed onsails/lspkind-nvim [ERROR Sun 11 Apr 2021 06:09:13 PM -03] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:139: Vim(lua):E5108: Error executing lua ...s-context-commentstring/lua/ts_context_commentstring.lua:4: module 'nvim-treesitter' not found: no field package.preload['nvim-treesitter'] no file './nvim-treesitter.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/init.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/init.lua' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [DEBUG Sun 11 Apr 2021 06:09:13 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:26: Failed to install JoosepAlviste/nvim-ts-context-commentstring: "Nil result in and_then! \"stack traceback:\\n\\t...site/pack/packer/start/packer.nvim/lua/packer/result.lua:8: in function 'and_then'\\n\\t...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:20: in function <...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:15>\"" [DEBUG Sun 11 Apr 2021 06:09:13 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed rafamadriz/friendly-snippets [ERROR Sun 11 Apr 2021 06:09:14 PM -03] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:139: Vim(lua):E5108: Error executing lua ...m/site/pack/packer/start/nvim-ts-rainbow/lua/rainbow.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [DEBUG Sun 11 Apr 2021 06:09:14 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:26: Failed to install p00f/nvim-ts-rainbow: "Nil result in and_then! \"stack traceback:\\n\\t...site/pack/packer/start/packer.nvim/lua/packer/result.lua:8: in function 'and_then'\\n\\t...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:20: in function <...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:15>\"" [DEBUG Sun 11 Apr 2021 06:09:15 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed nvim-treesitter/nvim-treesitter [DEBUG Sun 11 Apr 2021 06:09:17 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed mattn/emmet-vim [DEBUG Sun 11 Apr 2021 06:09:18 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed ryanoasis/vim-devicons [DEBUG Sun 11 Apr 2021 06:09:20 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/install.lua:23: Installed nvim-treesitter/playground [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-dap/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-compe/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/emmet-vim/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/vim-vsnip/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-treesitter/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/vim-devicons/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/indent-blankline.nvim/doc [INFO Sun 11 Apr 2021 06:09:20 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-lspconfig/doc [WARN Sun 11 Apr 2021 06:09:26 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:475: No plugin selected! [WARN Sun 11 Apr 2021 06:09:27 PM -03] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:475: No plugin selected! [ERROR Sun 11 Apr 2021 06:09:31 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:494: Failure running setup function: "/home/maltalef/.config/nvim/lua/nv-galaxyline/init.lua:1: module 'galaxyline' not found:\n\tno field package.preload['galaxyline']\n\tno file './galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline/init.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline/init.lua'\n\tno file './galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/galaxyline.so'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/loadall.so'" [ERROR Sun 11 Apr 2021 06:09:47 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:494: Failure running setup function: "/home/maltalef/.config/nvim/lua/nv-galaxyline/init.lua:1: module 'galaxyline' not found:\n\tno field package.preload['galaxyline']\n\tno file './galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline/init.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline/init.lua'\n\tno file './galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/galaxyline.so'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/loadall.so'" [INFO Sun 11 Apr 2021 06:09:52 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:266: All configured plugins are installed [INFO Sun 11 Apr 2021 06:11:59 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:445: Finished compiling lazy-loaders! [INFO Sun 11 Apr 2021 06:12:05 PM -03] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:78: Already clean! [INFO Sun 11 Apr 2021 06:12:07 PM -03] ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:84: Updating helptags for /home/maltalef/.local/share/nvim/site/pack/packer/start/packer.nvim/doc [ERROR Sun 11 Apr 2021 06:12:11 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:494: Failure running setup function: "/home/maltalef/.config/nvim/lua/nv-galaxyline/init.lua:1: module 'galaxyline' not found:\n\tno field package.preload['galaxyline']\n\tno file './galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline/init.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline/init.lua'\n\tno file './galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/galaxyline.so'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/loadall.so'" [ERROR Sun 11 Apr 2021 06:12:49 PM -03] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:494: Failure running setup function: "/home/maltalef/.config/nvim/lua/nv-galaxyline/init.lua:1: module 'galaxyline' not found:\n\tno field package.preload['galaxyline']\n\tno file './galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/luajit-2.1.0-beta3/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline.lua'\n\tno file '/usr/local/share/lua/5.1/galaxyline/init.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline.lua'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/share/lua/5.1/galaxyline/init.lua'\n\tno file './galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/galaxyline.so'\n\tno file '/home/maltalef/downloads/neovim/.deps/usr/lib/lua/5.1/galaxyline.so'\n\tno file '/usr/local/lib/lua/5.1/loadall.so'" [ERROR Sun 08 Aug 2021 02:47:26 PM -03 1.6828742589492e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(call):E121: Undefined variable: g:fern#renderers [WARN Sun 08 Aug 2021 02:47:43 PM -03 1.6830400058598e+14] ...site/pack/packer/start/packer.nvim/lua/packer/result.lua:49: Unable to get diff! [WARN Sun 08 Aug 2021 02:47:45 PM -03 1.6830621650148e+14] ...site/pack/packer/start/packer.nvim/lua/packer/result.lua:49: Unable to get diff! [WARN Sun 08 Aug 2021 02:47:45 PM -03 1.683065444349e+14] ...site/pack/packer/start/packer.nvim/lua/packer/result.lua:49: Unable to get diff! [WARN Sun 08 Aug 2021 02:47:46 PM -03 1.6830732266829e+14] ...site/pack/packer/start/packer.nvim/lua/packer/result.lua:49: Unable to get diff! [WARN Sun 08 Aug 2021 02:47:49 PM -03 1.6831070200069e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:698: lambdalisue/fern-renderer-nerdfont.vim wasn't updated; can't revert! [ERROR Sun 08 Aug 2021 02:51:36 PM -03 1.685377306324e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [WARN Sun 08 Aug 2021 02:51:58 PM -03 1.6855940517614e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:603: packer_plugins table is nil! Cannot run packer.status()! [WARN Sun 08 Aug 2021 02:54:13 PM -03 1.6869437561584e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:603: packer_plugins table is nil! Cannot run packer.status()! [WARN Sun 08 Aug 2021 02:55:02 PM -03 1.687435688351e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:745: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true [ERROR Sun 08 Aug 2021 02:57:39 PM -03 1.6890068928371e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(call):E121: Undefined variable: g:fern#renderers [WARN Sun 08 Aug 2021 02:58:53 PM -03 1.6897489888394e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:745: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true [WARN Sun 08 Aug 2021 02:58:57 PM -03 1.6897813067005e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:603: packer_plugins table is nil! Cannot run packer.status()! [ERROR Sun 08 Aug 2021 02:59:07 PM -03 1.6898880768197e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [ERROR Sun 08 Aug 2021 02:59:23 PM -03 1.6900446961184e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [ERROR Sun 08 Aug 2021 03:02:06 PM -03 1.6916703592182e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [ERROR Sun 08 Aug 2021 03:02:09 PM -03 1.6917051077698e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [ERROR Sun 08 Aug 2021 03:02:34 PM -03 1.6919593791275e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim:E492: Not an editor command: -- Automatically generated packer.nvim plugin loader code [WARN Mon 09 Aug 2021 06:08:34 PM -03 5354815843936] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:607: No plugin selected! [ERROR Mon 09 Aug 2021 06:10:03 PM -03 5443827601610] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(call):E121: Undefined variable: g:fern#renderers [ERROR Mon 09 Aug 2021 06:10:04 PM -03 5444218628751] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [WARN Mon 09 Aug 2021 06:10:35 PM -03 5475877213041] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:603: packer_plugins table is nil! Cannot run packer.status()! [WARN Mon 09 Aug 2021 06:11:46 PM -03 5546647629530] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:607: No plugin selected! [WARN Mon 09 Aug 2021 06:11:47 PM -03 5547119345971] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:607: No plugin selected! [WARN Mon 09 Aug 2021 06:11:48 PM -03 5548485378129] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:607: No plugin selected! [WARN Mon 09 Aug 2021 06:11:51 PM -03 5551604049963] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:745: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true [WARN Tue 10 Aug 2021 04:18:47 PM -03 1163973028699] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled! [WARN Tue 10 Aug 2021 04:19:15 PM -03 1192427328539] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled! [WARN Tue 10 Aug 2021 04:21:29 PM -03 1325868228145] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:607: No plugin selected! [ERROR Mon 16 Aug 2021 02:15:59 PM -03 72136924456093] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(call):E121: Undefined variable: g:fern#renderers [ERROR Mon 16 Aug 2021 02:15:59 PM -03 72137377834532] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/nvim-treesitter/query.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/nvim-treesitter/query.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/nvim-treesitter.so' [ERROR Mon 16 Aug 2021 02:50:56 PM -03 74234157662398] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(call):E121: Undefined variable: g:fern#renderers [ERROR Mon 16 Aug 2021 02:50:56 PM -03 74234279750432] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/nvim-treesitter/query.lua' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/nvim-treesitter/query.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/nvim-treesitter.so' [WARN Mon 16 Aug 2021 02:52:23 PM -03 74321153007604] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:745: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true [WARN Mon 16 Aug 2021 02:54:57 PM -03 74475308707630] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:634: No plugin selected! [WARN Mon 16 Aug 2021 02:54:59 PM -03 74477036601247] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:634: No plugin selected! [ERROR Mon 16 Aug 2021 04:08:04 PM -03 78862094601229] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:692: attempt to index a nil value [WARN Mon 16 Aug 2021 06:11:13 PM -03 86251202124944] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:639: Plugin not available! [WARN Mon 16 Aug 2021 06:11:13 PM -03 86251370132825] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:639: Plugin not available! [WARN Mon 16 Aug 2021 06:11:15 PM -03 86253193936762] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:639: Plugin not available! [WARN Sun 29 Aug 2021 12:34:47 PM -03 1.5315754550106e+14] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled! [ERROR Tue 07 Sep 2021 05:13:02 PM -03 4496266136126] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim(source):E5113: Error while calling lua chunk: /home/maltalef/.config/nvim/plugin/packer_compiled.lua:228: Vim(echomsg):E121: Undefined variable: packer [ERROR Tue 07 Sep 2021 05:17:46 PM -03 4780366184325] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [WARN Tue 07 Sep 2021 05:21:06 PM -03 4979999765763] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:745: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true [ERROR Tue 07 Sep 2021 05:27:46 PM -03 282014780960] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim(source):E5113: Error while calling lua chunk: /home/maltalef/.config/nvim/plugin/packer_compiled.lua:228: Vim(echomsg):E121: Undefined variable: packer [ERROR Tue 07 Sep 2021 05:35:45 PM -03 761226715012] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [ERROR Tue 07 Sep 2021 05:38:23 PM -03 919679271562] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Error executing lua ...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:1: module 'nvim-treesitter.query' not found: no field package.preload['nvim-treesitter.query'] no file './nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query.lua' no file '/usr/local/share/lua/5.1/nvim-treesitter/query/init.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query.lua' no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/nvim-treesitter/query/init.lua' no file './nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter/query.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter/query.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/nvim-treesitter.so' no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/nvim-treesitter.so' no file '/usr/local/lib/lua/5.1/loadall.so' [ERROR Tue 14 Sep 2021 07:54:26 PM -03 14904772943936] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim(source):E5113: Error while calling lua chunk: /home/maltalef/.config/nvim/plugin/packer_compiled.lua:224: Vim(echomsg):E121: Undefined variable: packer [ERROR Wed 15 Sep 2021 11:20:40 PM -03 8955175943468] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:698: Vim(source):E5113: Error while calling lua chunk: /home/maltalef/.config/nvim/plugin/packer_compiled.lua:226: Vim(echomsg):E121: Undefined variable: packer ```
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() 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 _G._packer = _G._packer or {} _G._packer.profile_output = results end time([[Luarocks path setup]], true) local package_path_str = "/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/maltalef/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local install_cpath_pattern = "/home/maltalef/.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)) 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 = { LuaSnip = { loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/LuaSnip" }, ["barbar.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/barbar.nvim" }, ["friendly-snippets"] = { loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/friendly-snippets" }, ["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\20core.galaxyline\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/galaxyline.nvim" }, ["gitsigns.nvim"] = { config = { "\27LJ\2\n6\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\rgitsigns\frequire\0" }, loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/gitsigns.nvim" }, ["gruvbox.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/gruvbox.nvim" }, ["indent-blankline.nvim"] = { config = { "\27LJ\2\nC\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\26core.indent-blankline\frequire\0" }, loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim" }, ["lush.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/lush.nvim" }, ["nerdfont.vim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nerdfont.vim" }, ["nvim-autopairs"] = { config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19core.autopairs\frequire\0" }, load_after = { ["nvim-compe"] = true }, loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/nvim-autopairs" }, ["nvim-colorizer.lua"] = { config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19core.colorizer\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua" }, ["nvim-compe"] = { after = { "nvim-autopairs" }, after_files = { "/home/maltalef/.local/share/nvim/site/pack/packer/opt/nvim-compe/after/plugin/compe.vim" }, config = { "\27LJ\2\n8\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\15core.compe\frequire\0" }, loaded = false, needs_bufread = false, path = "/home/maltalef/.local/share/nvim/site/pack/packer/opt/nvim-compe" }, ["nvim-lspconfig"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-lspconfig" }, ["nvim-lspinstall"] = { config = { "\27LJ\2\n8\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\15lspinstall\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-lspinstall" }, ["nvim-tree.lua"] = { 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\nsetup\18core.nvimtree\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-tree.lua" }, ["nvim-treesitter"] = { config = { "\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20core.treesitter\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-treesitter" }, ["nvim-web-devicons"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/packer.nvim" }, ["plenary.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/plenary.nvim" }, ["popup.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/popup.nvim" }, ["telescope-fzy-native.nvim"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/telescope-fzy-native.nvim" }, ["telescope.nvim"] = { config = { "\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19core.telescope\frequire\0" }, loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/telescope.nvim" }, ["vim-fugitive"] = { loaded = true, path = "/home/maltalef/.local/share/nvim/site/pack/packer/start/vim-fugitive" } } time([[Defining packer_plugins]], false) -- Config for: nvim-lspinstall time([[Config for nvim-lspinstall]], true) try_loadstring("\27LJ\2\n8\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\15lspinstall\frequire\0", "config", "nvim-lspinstall") time([[Config for nvim-lspinstall]], false) -- Config for: telescope.nvim time([[Config for telescope.nvim]], true) try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19core.telescope\frequire\0", "config", "telescope.nvim") time([[Config for telescope.nvim]], false) -- Config for: nvim-tree.lua time([[Config for nvim-tree.lua]], true) try_loadstring("\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\nsetup\18core.nvimtree\frequire\0", "config", "nvim-tree.lua") time([[Config for nvim-tree.lua]], false) -- Config for: galaxyline.nvim time([[Config for galaxyline.nvim]], true) try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20core.galaxyline\frequire\0", "config", "galaxyline.nvim") time([[Config for galaxyline.nvim]], false) -- Config for: nvim-treesitter time([[Config for nvim-treesitter]], true) try_loadstring("\27LJ\2\n/\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\20core.treesitter\frequire\0", "config", "nvim-treesitter") time([[Config for nvim-treesitter]], false) -- Config for: nvim-colorizer.lua time([[Config for nvim-colorizer.lua]], true) try_loadstring("\27LJ\2\n.\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\19core.colorizer\frequire\0", "config", "nvim-colorizer.lua") time([[Config for nvim-colorizer.lua]], false) vim.cmd [[augroup packer_load_aucmds]] vim.cmd [[au!]] -- Event lazy-loads time([[Defining lazy-load event autocommands]], true) vim.cmd [[au BufRead * ++once lua require("packer.load")({'gitsigns.nvim', 'indent-blankline.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]] vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-compe', 'LuaSnip'}, { event = "InsertEnter *" }, _G.packer_plugins)]] vim.cmd [[au InserCharPre * ++once lua require("packer.load")({'friendly-snippets'}, { event = "InserCharPre *" }, _G.packer_plugins)]] time([[Defining lazy-load event autocommands]], false) vim.cmd("augroup END") if should_profile then save_profiles() end end) if not no_errors then vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') end ```
wbthomason commented 3 years ago

Thanks for your report. I'm having trouble reproducing this on my end without your full config - from the logs, it looks like you might have a bug in your core.treesitter module.

I suspect that the issue here is that the error_message variable in the line in the error message needs to be correctly escaped. Could you please try adding a print(vim.inspect(error_msg)) just before that line and sharing the output with me?

maltalef101 commented 3 years ago

Thank you for taking a look at this.

This is the output of what you've asked: "/home/maltalef/.config/nvim/plugin/packer_compiled.lua:218: Vim(autocmd):E216: No such group or event: InserCharPre * ++once lua require(\"packer.load\")({'friendly-snippets'}, { event = \"InserCharPre *\" }, _G.packer_plugins)"

It's obvious that there's a misspelling in the event name on which friendly-snippets launches. I'll correct that and hopefully there will be no more errors.

maltalef101 commented 3 years ago

It's now working flawlessly.

May I suggest adding code that checks if the event name is correct or exists? I really haven't looked at the code so I can't make a prediction on if what I'm suggesting would be possible to implement.

Again, thank you very much.

wbthomason commented 3 years ago

Ah, so there are two things going on here:

  1. The bug in your spec (which, sorry, I didn't see when I skimmed it). We could add code to check if events exist (at least for non-User autocommands); if you're interested, this would be a pretty straightforward PR.
  2. There is a bug in the line with the original error - we don't escape double-quotes in the error message, so it can break the string we pass to echom and thus cause the error you saw.
maltalef101 commented 3 years ago

I'll look at it! I probably won't write anything because I only know the basics of Lua that I need for neovim and such, but I'll try.

wbthomason commented 3 years ago

No worries!