-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Labels
bugSomething isn't workingSomething isn't workinggood-first-issuehelp wantedExtra attention is neededExtra attention is neededwontfixThis will not be worked onThis will not be worked on
Milestone
Description
Did you check docs and existing issues?
- I have read all the docs.
- I have searched the existing issues.
- I have searched the existing discussions.
Neovim Version (nvim -v)
NVIM v0.9.5
Operating System / Version
Chimera Linux
Describe the Bug
Here's the full output of nvim -v
$ nvim -v
NVIM v0.9.5
Build type: RelWithDebInfo
Lua 5.1
Compilation: /usr/lib/ccache/bin/clang -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_VENDOR_BIT -I/usr/include/lua5.1 -I/usr/include -I/usr/include -I/builddir/neovim-0.9.5/build/src/nvim/auto -I/builddir/neovim-0.9.5/build/include -I/builddir/neovim-0.9.5/build/cmake.config -I/builddir/neovim-0.9.5/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Do note the absence of LuaJIT.
That's also the reason I used packer.nvim for the minimal config below (since lazy.nvim requires LuaJIT)
Screenshots, Traceback
E5108: Error executing lua ...m.full/site/pack/packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:431: '=' expected near 'continue'
stack traceback:
[C]: in function 'error'
?: in function <?:15>
[C]: in function 'require'
...nvim/lua/neo-tree/sources/filesystem/lib/fs_scan.lua:4: in main chunk
[C]: in function 'require'
...start/neo-tree.nvim/lua/neo-tree/sources/manager.lua:6: in main chunk
[C]: in function 'require'
...er/start/neo-tree.nvim/lua/neo-tree/command/init.lua:3: in main chunk
[C]: in function 'require'
[string ":lua"]:1: in main chunk
Steps to Reproduce
- Populate init.lua with the config given below
:Neotree
Expected Behavior
No errors.
Your Configuration
-- require'plugins'
local ensure_packer = function()
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
vim.cmd [[packadd packer.nvim]]
return true
end
return false
end
local packer_bootstrap = ensure_packer()
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
requires = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
}
}
if packer_bootstrap then
require('packer').sync()
end
end)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood-first-issuehelp wantedExtra attention is neededExtra attention is neededwontfixThis will not be worked onThis will not be worked on