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.89k stars 264 forks source link

Syntax error in packer_compiled after compiling #697

Closed lilithium-hydride closed 2 years ago

lilithium-hydride commented 2 years ago

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

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

Run :checkhealth for more info

- `git --version`:

git version 2.33.1

- Operating system/version:

Artix Linux rolling

- Terminal name/version:

alacritty 0.10.0-dev (33db289f)


### Steps to reproduce
1. Run `:PackerCompile` or open neovim after compilation.

### Actual behaviour
The following error is spit out:
`[packer.nvim] [ERROR 23:32:05] async.lua:20: Error in coroutine: ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:252: unexpected symbol near ']'`
Some plugin commands don't seem to work. Either that, or they aren't being loaded. I can't check, because `:PackerStatus` produces `[packer.nvim] [WARN  23:35:12] packer.lua:607: packer_plugins table is nil! Cannot run packer.status()!` and displays nothing in its pane.

### Expected behaviour
The compilation proceeds without producing errors, my plugins work properly, and `:PackerStatus` displays the appropriate information.

### packer files

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

https://github.com/lilithium-hydride/dotfiles/blob/master/stow/.config/nvim/lua/plugins.lua
Apologies, it's quite messy. I've been screwing with Packer for several hours now trying to get everything to work, so it's not the prettiest anymore. GitHub also doesn't seem to display tab-indented files all that well.

</details>

<details>
<summary>packer log file</summary>

[WARN Sat 13 Nov 2021 09:09:22 PM EST 6.9858823677025e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:23 PM EST 6.985890456739e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:24 PM EST 6.9858948960248e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:24 PM EST 6.9858991673841e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:25 PM EST 6.985905497588e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:25 PM EST 6.9859103374071e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:25 PM EST 6.9859127468769e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:25 PM EST 6.9859148064465e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:26 PM EST 6.9859169770748e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:26 PM EST 6.9859189375785e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:26 PM EST 6.9859204856116e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:26 PM EST 6.9859222951569e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:26 PM EST 6.9859242060328e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:27 PM EST 6.9859262759261e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:09:29 PM EST 6.9859495263e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [ERROR Sat 13 Nov 2021 09:15:14 PM EST 6.9894018669029e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:827: Vim(vnew):E11: Invalid in command-line window; executes, CTRL-C quits: 65vnew [ERROR Sat 13 Nov 2021 09:15:22 PM EST 6.9894797141677e+14] .../site/pack/packer/start/packer.nvim/lua/packer/async.lua:20: Error in coroutine: ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:827: Vim(vnew):E11: Invalid in command-line window; executes, CTRL-C quits: 65vnew [WARN Sat 13 Nov 2021 09:32:02 PM EST 6.9994816342888e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:32:03 PM EST 6.9994902856309e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:32:04 PM EST 6.9994961647346e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:32:04 PM EST 6.9994998957687e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:32:04 PM EST 6.9995034861999e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [WARN Sat 13 Nov 2021 09:32:05 PM EST 6.999507996117e+14] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected! [ERROR Sat 13 Nov 2021 09:39:18 PM EST 7.003836763274e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:21 PM EST 7.0038699842329e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:23 PM EST 7.0038870617739e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:24 PM EST 7.0039039736743e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:27 PM EST 7.0039265167378e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:28 PM EST 7.0039418033427e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:32 PM EST 7.0039771154918e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:34 PM EST 7.0039984157001e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:35 PM EST 7.0040129733468e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:39:40 PM EST 7.0040555155938e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:40:03 PM EST 7.0042921679924e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:40:05 PM EST 7.0043110145646e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:40:07 PM EST 7.0043304250332e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:40:12 PM EST 7.0043813601884e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:14 PM EST 7.0067986026414e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:16 PM EST 7.0068187989094e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:20 PM EST 7.0068568556918e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:23 PM EST 7.006891496438e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:30 PM EST 7.0069630997278e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:47 PM EST 7.0071290620815e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:52 PM EST 7.0071780651953e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:44:53 PM EST 7.007191673586e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:229: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:50:03 PM EST 7.0102853828394e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:237: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:52:22 PM EST 7.0116749221843e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:241: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:54:16 PM EST 7.0128245304034e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:241: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:54:22 PM EST 7.0128792138435e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:241: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:55:32 PM EST 7.0135847270123e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:235: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 09:55:40 PM EST 7.0136633840551e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:223: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:25:20 PM EST 7.067457620666e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:244: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:25:46 PM EST 7.067716440795e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:248: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:26:33 PM EST 7.0681903563488e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:252: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:32:05 PM EST 7.0715107108865e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:252: unexpected symbol near ']' [WARN Sat 13 Nov 2021 11:35:12 PM EST 7.0733761648694e+14] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:607: packer_plugins table is nil! Cannot run packer.status()! [ERROR Sat 13 Nov 2021 11:37:46 PM EST 7.0749192170849e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:235: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:38:33 PM EST 7.0753890592429e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:235: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:40:24 PM EST 7.0764951755919e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:235: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:42:03 PM EST 7.0774851798011e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:235: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:46:29 PM EST 7.0801507215547e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:245: unexpected symbol near ']' [ERROR Sat 13 Nov 2021 11:49:08 PM EST 7.0817377014183e+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:713: Vim(source):E5112: Error while creating lua chunk: /home/lilith/.config/nvim/plugin/packer_compiled.lua:245: unexpected symbol near ']'


</details>

<details>
<summary>packer compiled file</summary>

```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/lilith/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/lilith/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/lilith/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/lilith/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/lilith/.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 = {
  amora = {
    loaded = false,
    needs_bufread = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/amora",
    url = "https://github.com/owozsh/amora"
  },
  ["barbar.nvim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/barbar.nvim",
    url = "https://github.com/romgrk/barbar.nvim"
  },
  ["base16-vim"] = {
    loaded = false,
    needs_bufread = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/base16-vim",
    url = "https://github.com/chriskempson/base16-vim"
  },
  ["coc.nvim"] = {
    config = { 'vim.cmd[[let g:coc_global_extensions = ["coc-json", "coc-rust-analyzer", "coc-vimtex", "coc-java"]]]' },
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/coc.nvim",
    url = "https://github.com/neoclide/coc.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 = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
    url = "https://github.com/lewis6991/gitsigns.nvim"
  },
  ["goyo.vim"] = {
    commands = { "Goyo" },
    loaded = false,
    needs_bufread = false,
    only_cond = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/goyo.vim",
    url = "https://github.com/junegunn/goyo.vim"
  },
  ["lualine.nvim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/lualine.nvim",
    url = "https://github.com/nvim-lualine/lualine.nvim"
  },
  ["neoscroll.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\4\0005\3\3\0=\3\5\0026\3\6\0=\3\a\2B\0\2\1K\0\1\0\20easing_function\ncubic\rmappings\1\0\5\25cursor_scrolls_alone\2\22respect_scrolloff\1\24use_local_scrolloff\1\rstop_eof\2\16hide_cursor\2\1\n\0\0\n<C-u>\n<C-d>\n<C-b>\n<C-f>\n<C-y>\n<C-e>\azt\azz\azb\nsetup\14neoscroll\frequire\0" },
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/neoscroll.nvim",
    url = "https://github.com/karb94/neoscroll.nvim"
  },
  ["nvim-tree.lua"] = {
    config = { "\27LJ\2\nÑ\4\0\0\6\0\25\0!6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0004\3\0\0=\3\4\0025\3\5\0=\3\6\0025\3\a\0005\4\b\0=\4\t\3=\3\n\0025\3\v\0004\4\0\0=\4\f\3=\3\r\0025\3\14\0004\4\0\0=\4\15\3=\3\16\0025\3\17\0004\4\0\0=\4\18\3=\3\19\0025\3\20\0005\4\21\0004\5\0\0=\5\22\4=\4\23\3=\3\24\2B\0\2\1K\0\1\0\tview\rmappings\tlist\1\0\1\16custom_only\1\1\0\5\21hide_root_folder\1\vheight\3\30\nwidth\3\30\16auto_resize\1\tside\nright\ffilters\vcustom\1\0\1\rdotfiles\1\16system_open\targs\1\0\0\24update_focused_file\16ignore_list\1\0\2\venable\1\15update_cwd\1\16diagnostics\nicons\1\0\4\fwarning\b\thint\b\nerror\b\tinfo\b\1\0\1\venable\1\22update_to_buf_dir\1\0\2\14auto_open\2\venable\2\23ignore_ft_on_setup\1\0\a\18hijack_cursor\1\16open_on_tab\1\15auto_close\1\18open_on_setup\1\17hijack_netrw\2\18disable_netrw\2\15update_cwd\1\nsetup\14nvim-tree\frequire\0" },
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
    url = "https://github.com/kyazdani42/nvim-tree.lua"
  },
  ["nvim-treesitter"] = {
    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\6\0005\3\3\0005\4\4\0=\4\5\3=\3\a\0025\3\b\0=\3\t\2B\0\2\1K\0\1\0\vindent\1\0\1\venable\2\14highlight\1\0\0\20custom_captures\1\0\1\ffoo.bar\15Identifier\1\0\2\venable\2&additional_vim_regex_highlighting\1\nsetup\28nvim-treesitter.configs\frequire\0" },
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
    url = "https://github.com/nvim-treesitter/nvim-treesitter"
  },
  ["nvim-web-devicons"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
    url = "https://github.com/kyazdani42/nvim-web-devicons"
  },
  ["packer.nvim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/packer.nvim",
    url = "https://github.com/wbthomason/packer.nvim"
  },
  ["plenary.nvim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/plenary.nvim",
    url = "https://github.com/nvim-lua/plenary.nvim"
  },
  ["ron.vim"] = {
    loaded = false,
    needs_bufread = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/ron.vim",
    url = "https://github.com/ron-rs/ron.vim"
  },
  ["rose-pine"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/rose-pine",
    url = "https://github.com/rose-pine/neovim"
  },
  ["rust.vim"] = {
    loaded = false,
    needs_bufread = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/rust.vim",
    url = "https://github.com/rust-lang/rust.vim"
  },
  ["seoul256.vim"] = {
    loaded = false,
    needs_bufread = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/seoul256.vim",
    url = "https://github.com/junegunn/seoul256.vim"
  },
  ["telescope.nvim"] = {
    config = { "\27LJ\2\n¹\b\0\0\b\0*\0E6\0\0\0'\2\1\0B\0\2\0026\1\0\0'\3\2\0B\1\2\0029\1\3\0015\3(\0005\4\t\0005\5\a\0005\6\5\0009\a\4\0=\a\6\6=\6\b\5=\5\n\0045\5\v\0=\5\f\0045\5\14\0005\6\r\0=\6\15\0055\6\16\0=\6\17\5=\5\18\0046\5\0\0'\a\19\0B\5\2\0029\5\20\5=\5\21\0044\5\0\0=\5\22\0046\5\0\0'\a\19\0B\5\2\0029\5\23\5=\5\24\0044\5\0\0=\5\25\0045\5\26\0=\5\27\0044\5\0\0=\5\28\0045\5\29\0=\5\30\0046\5\0\0'\a\31\0B\5\2\0029\5 \0059\5!\5=\5\"\0046\5\0\0'\a\31\0B\5\2\0029\5#\0059\5!\5=\5$\0046\5\0\0'\a\31\0B\5\2\0029\5%\0059\5!\5=\5&\0046\5\0\0'\a\31\0B\5\2\0029\5'\5=\5'\4=\4)\3B\1\2\1K\0\1\0\rdefaults\1\0\0\27buffer_previewer_maker\21qflist_previewer\22vim_buffer_qflist\19grep_previewer\23vim_buffer_vimgrep\19file_previewer\bnew\19vim_buffer_cat\25telescope.previewers\fset_env\1\0\1\14COLORTERM\14truecolor\17path_display\16borderchars\1\t\0\0\b─\b│\b─\b│\b╭\b╮\b╯\b╰\vborder\19generic_sorter\29get_generic_fuzzy_sorter\25file_ignore_patterns\16file_sorter\19get_fuzzy_file\22telescope.sorters\18layout_config\rvertical\1\0\1\vmirror\1\15horizontal\1\0\0\1\0\1\vmirror\1\22vimgrep_arguments\1\t\0\0\arg\18--color=never\r--hidden\17--no-heading\20--with-filename\18--line-number\r--column\17--smart-case\rmappings\1\0\n\17initial_mode\vinsert\17entry_prefix\6\t\20selection_caret\a> \18prompt_prefix\a> \ruse_less\2\19color_devicons\2\rwinblend\3\0\20layout_strategy\15horizontal\21sorting_strategy\15descending\23selection_strategy\nreset\6i\1\0\0\n<esc>\1\0\0\nclose\nsetup\14telescope\22telescope.actions\frequire\0" },
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/telescope.nvim",
    url = "https://github.com/nvim-telescope/telescope.nvim"
  },
  ["vim-bufkill"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/vim-bufkill",
    url = "https://github.com/qpkorr/vim-bufkill"
  },
  ["vim-coloresque"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/vim-coloresque",
    url = "https://github.com/gko/vim-coloresque"
  },
  ["vim-glsl"] = {
    loaded = false,
    needs_bufread = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/vim-glsl",
    url = "https://github.com/tikhomirov/vim-glsl"
  },
  ["vim-latex-live-preview"] = {
    commands = { "LLPStartPreview" },
    loaded = false,
    needs_bufread = false,
    only_cond = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/vim-latex-live-preview",
    url = "https://github.com/xuhdev/vim-latex-live-preview"
  },
  ["vim-toml"] = {
    loaded = false,
    needs_bufread = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/vim-toml",
    url = "https://github.com/cespare/vim-toml"
  },
  ["vim-vinegar"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/vim-vinegar",
    url = "https://github.com/tpope/vim-vinegar"
  },
  vimtex = {
    loaded = false,
    needs_bufread = true,
    only_cond = false,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex",
    url = "https://github.com/lervag/vimtex"
  },
  ["vista.vim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/vista.vim",
    url = "https://github.com/liuchengxu/vista.vim"
  },
  ["which-key.nvim"] = {
    loaded = true,
    path = "/home/lilith/.local/share/nvim/site/pack/packer/start/which-key.nvim",
    url = "https://github.com/folke/which-key.nvim"
  }
}

time([[Defining packer_plugins]], false)
-- Config for: nvim-treesitter
time([[Config for nvim-treesitter]], 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\6\0005\3\3\0005\4\4\0=\4\5\3=\3\a\0025\3\b\0=\3\t\2B\0\2\1K\0\1\0\vindent\1\0\1\venable\2\14highlight\1\0\0\20custom_captures\1\0\1\ffoo.bar\15Identifier\1\0\2\venable\2&additional_vim_regex_highlighting\1\nsetup\28nvim-treesitter.configs\frequire\0", "config", "nvim-treesitter")
time([[Config for nvim-treesitter]], false)
-- Config for: neoscroll.nvim
time([[Config for neoscroll.nvim]], true)
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\4\0005\3\3\0=\3\5\0026\3\6\0=\3\a\2B\0\2\1K\0\1\0\20easing_function\ncubic\rmappings\1\0\5\25cursor_scrolls_alone\2\22respect_scrolloff\1\24use_local_scrolloff\1\rstop_eof\2\16hide_cursor\2\1\n\0\0\n<C-u>\n<C-d>\n<C-b>\n<C-f>\n<C-y>\n<C-e>\azt\azz\azb\nsetup\14neoscroll\frequire\0", "config", "neoscroll.nvim")
time([[Config for neoscroll.nvim]], false)
-- Config for: nvim-tree.lua
time([[Config for nvim-tree.lua]], true)
try_loadstring("\27LJ\2\nÑ\4\0\0\6\0\25\0!6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0004\3\0\0=\3\4\0025\3\5\0=\3\6\0025\3\a\0005\4\b\0=\4\t\3=\3\n\0025\3\v\0004\4\0\0=\4\f\3=\3\r\0025\3\14\0004\4\0\0=\4\15\3=\3\16\0025\3\17\0004\4\0\0=\4\18\3=\3\19\0025\3\20\0005\4\21\0004\5\0\0=\5\22\4=\4\23\3=\3\24\2B\0\2\1K\0\1\0\tview\rmappings\tlist\1\0\1\16custom_only\1\1\0\5\21hide_root_folder\1\vheight\3\30\nwidth\3\30\16auto_resize\1\tside\nright\ffilters\vcustom\1\0\1\rdotfiles\1\16system_open\targs\1\0\0\24update_focused_file\16ignore_list\1\0\2\venable\1\15update_cwd\1\16diagnostics\nicons\1\0\4\fwarning\b\thint\b\nerror\b\tinfo\b\1\0\1\venable\1\22update_to_buf_dir\1\0\2\14auto_open\2\venable\2\23ignore_ft_on_setup\1\0\a\18hijack_cursor\1\16open_on_tab\1\15auto_close\1\18open_on_setup\1\17hijack_netrw\2\18disable_netrw\2\15update_cwd\1\nsetup\14nvim-tree\frequire\0", "config", "nvim-tree.lua")
time([[Config for nvim-tree.lua]], false)
-- Config for: coc.nvim
time([[Config for coc.nvim]], true)
vim.cmd[[let g:coc_global_extensions = ["coc-json", "coc-rust-analyzer", "coc-vimtex", "coc-java"]]]
time([[Config for coc.nvim]], false)
-- Config for: gitsigns.nvim
time([[Config for gitsigns.nvim]], true)
try_loadstring("\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", "config", "gitsigns.nvim")
time([[Config for gitsigns.nvim]], false)
-- Config for: telescope.nvim
time([[Config for telescope.nvim]], true)
try_loadstring("\27LJ\2\n¹\b\0\0\b\0*\0E6\0\0\0'\2\1\0B\0\2\0026\1\0\0'\3\2\0B\1\2\0029\1\3\0015\3(\0005\4\t\0005\5\a\0005\6\5\0009\a\4\0=\a\6\6=\6\b\5=\5\n\0045\5\v\0=\5\f\0045\5\14\0005\6\r\0=\6\15\0055\6\16\0=\6\17\5=\5\18\0046\5\0\0'\a\19\0B\5\2\0029\5\20\5=\5\21\0044\5\0\0=\5\22\0046\5\0\0'\a\19\0B\5\2\0029\5\23\5=\5\24\0044\5\0\0=\5\25\0045\5\26\0=\5\27\0044\5\0\0=\5\28\0045\5\29\0=\5\30\0046\5\0\0'\a\31\0B\5\2\0029\5 \0059\5!\5=\5\"\0046\5\0\0'\a\31\0B\5\2\0029\5#\0059\5!\5=\5$\0046\5\0\0'\a\31\0B\5\2\0029\5%\0059\5!\5=\5&\0046\5\0\0'\a\31\0B\5\2\0029\5'\5=\5'\4=\4)\3B\1\2\1K\0\1\0\rdefaults\1\0\0\27buffer_previewer_maker\21qflist_previewer\22vim_buffer_qflist\19grep_previewer\23vim_buffer_vimgrep\19file_previewer\bnew\19vim_buffer_cat\25telescope.previewers\fset_env\1\0\1\14COLORTERM\14truecolor\17path_display\16borderchars\1\t\0\0\b─\b│\b─\b│\b╭\b╮\b╯\b╰\vborder\19generic_sorter\29get_generic_fuzzy_sorter\25file_ignore_patterns\16file_sorter\19get_fuzzy_file\22telescope.sorters\18layout_config\rvertical\1\0\1\vmirror\1\15horizontal\1\0\0\1\0\1\vmirror\1\22vimgrep_arguments\1\t\0\0\arg\18--color=never\r--hidden\17--no-heading\20--with-filename\18--line-number\r--column\17--smart-case\rmappings\1\0\n\17initial_mode\vinsert\17entry_prefix\6\t\20selection_caret\a> \18prompt_prefix\a> \ruse_less\2\19color_devicons\2\rwinblend\3\0\20layout_strategy\15horizontal\21sorting_strategy\15descending\23selection_strategy\nreset\6i\1\0\0\n<esc>\1\0\0\nclose\nsetup\14telescope\22telescope.actions\frequire\0", "config", "telescope.nvim")
time([[Config for telescope.nvim]], false)

-- Command lazy-loads
time([[Defining lazy-load commands]], true)
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Goyo lua require("packer.load")({'goyo.vim'}, { cmd = "Goyo", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file LLPStartPreview lua require("packer.load")({'vim-latex-live-preview'}, { cmd = "LLPStartPreview", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]])
time([[Defining lazy-load commands]], false)

vim.cmd [[augroup packer_load_aucmds]]
vim.cmd [[au!]]
  -- Filetype lazy-loads
time([[Defining lazy-load filetype autocommands]], true)
vim.cmd [[au FileType tex ++once lua require("packer.load")({'vim-latex-live-preview', 'vimtex'}, { ft = "tex" }, _G.packer_plugins)]]
time([[Defining lazy-load filetype autocommands]], false)
vim.cmd("augroup END")
vim.cmd [[augroup filetypedetect]]
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], true)
vim.cmd [[source /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]]
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/cls.vim]], false)
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], true)
vim.cmd [[source /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]]
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tex.vim]], false)
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], true)
vim.cmd [[source /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]]
time([[Sourcing ftdetect script at: /home/lilith/.local/share/nvim/site/pack/packer/opt/vimtex/ftdetect/tikz.vim]], 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

lilithium-hydride commented 2 years ago

Commenting out config = 'vim.cmd[[let g:coc_global_extensions = ["coc-json", "coc-rust-analyzer", "coc-vimtex", "coc-java"]]]' in plugins.lua left the problematic line in after recompiling for no apparent reason, but I manually deleted

-- Config for: coc.nvim
time([[Config for coc.nvim]], true)
vim.cmd[[let g:coc_global_extensions = ["coc-json", "coc-rust-analyzer", "coc-vimtex", "coc-java"]]]
time([[Config for coc.nvim]], false)

and it no longer screamed at me about syntax errors. Manually deleting packer_compiled.lua and recompiling it fixed the issue of commented out code not being removed from the compiled file. After finally narrowing down the exact line that was being problematic, I realized that the syntax, although I swear I got it from somewhere that claimed it worked, was completely messed up there, and fixing that resolved the main issue. Nothing caught the issue automatically and I couldn't be less comfortable with Lua, so this slipped under the radar. Sorry for the silly issue, marking as closed.