Failure to setup (nightly)
thetic opened this issue · comments
Chad Condon commented
Error detected while processing /home/chad/.config/nvim/after/plugin/nvim-tree.lua:
E5113: Error while calling lua chunk: ...packer/start/nvim-tree.lua/lua/nvim-tree/diagnostics.lua:140: Vim(autocmd):E216: No
such group or event: DiagnosticChanged * lua require'nvim-tree.diagnostics'.update()
stack traceback:
[C]: in function 'cmd'
...packer/start/nvim-tree.lua/lua/nvim-tree/diagnostics.lua:140: in function 'setup'
...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:472: in function 'setup'
/home/chad/.config/nvim/after/plugin/nvim-tree.lua:1: in main chunk
Here's my setup call:
require('nvim-tree').setup({
hide_root_folder = true,
diagnostics = {
enable = true,
icons = {
error = vim.fn.sign_getdefined('DiagnosticSignError')[1]['text'],
warning = vim.fn.sign_getdefined('DiagnosticSignWarn')[1]['text'],
info = vim.fn.sign_getdefined('DiagnosticSignInfo')[1]['text'],
hint = vim.fn.sign_getdefined('DiagnosticSignHint')[1]['text'],
},
},
})
Here's my version:
:version
NVIM v0.6.0-dev+629-g1a6058092
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -
Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=1 -DNVIM_TS_
HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wco
nversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DI
NCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/ma
kepkg/neovim-git/src/build/config -I/tmp/makepkg/neovim-git/src/neovim-git/src -I/usr/include -I/tmp/makepkg/neovim-git/src/
build/src/nvim/auto -I/tmp/makepkg/neovim-git/src/build/include
Compiled by chad
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
gegoune commented
You need to update your (nightly) nvim: neovim/neovim#14090 (comment).
Chad Condon commented
Yup, that was it. Thanks so much.
(For yay users, run yay -Y --devel --save
to permanently enable development (*-git) package updates.)
Kiyan commented
closing this then :)