Closed ex4722 closed 2 years ago
Same issue here. I did a git bisect: the issue was introduced in https://github.com/kyazdani42/nvim-tree.lua/commit/6da74679449897dd95eaecaefe8dea80fc7eb3de. The problem disappears once nvim-tree has been opened once.
Edit: See also https://github.com/kyazdani42/nvim-tree.lua/issues/981
Same issue on Ubuntu 18.02 using nvim 0.6.1. After the latest refactoring this diagnostic error fills the screen every few minutes:
Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/diagnostic.lua:663: Error executing lua: /usr/share/
nvim/runtime/lua/vim/diagnostic.lua:664: Vim(lua):E5108: Error executing lua ...packer/start/nvim-tree.lua/lua/nvim-tree/diagno
stics.lua:126: attempt to index global 'TreeExplorer' (a nil value)
It does seem to stop complaining after opening nvim-tree
OS Arch Linux 5.16.0-arch1-1
Neovim version NVIM v0.6.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -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 -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include Compiled by runner@fv-az87-780
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
Run :checkhealth for more info
null-ls: require("null-ls.health").check()
nvim: health#nvim#check
Configuration
Performance
Remote Plugins
terminal
tmux
focus-events
is not enabled. |'autoread'| may not work.focus-events
in ~/.tmux.conf: set-option -g focus-events onnvim-lsp-installer: require("nvim-lsp-installer.health").check()
nvim-lsp-installer report
tar (GNU tar) 1.34
gzip 1.11
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/1.1.1m zlib/1.2.11 brotli/1.0.9 zstd/1.5.1 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.46.0
GNU Wget 1.21.2 built on linux-gnu.
Python 3.10.1
v17.3.0
PHP 8.0.14 (cli) (built: Dec 17 2021 14:16:47) ( NTS )
ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
go version go1.17.6 linux/amd64
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Ok
3.2.29
Ok
8.3.1
javac 17.0.1
pip 20.3.4 from /usr/lib/python3.10/site-packages/pip (python 3.10)
nvim-treesitter: require("nvim-treesitter.health").check()
Installation
tree-sitter
found 0.20.2 (parser generator, only needed for :TSInstallFromGrammar)node
found v17.3.0 (only needed for :TSInstallFromGrammar)git
executable found.cc
executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: cc (GCC) 11.1.0Parser/Features H L F I J
scala ✓ . ✓ . ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections +) multiple parsers found, only one will be used x) errors found in the query, try to run :TSUpdate {lang}
provider: health#provider#check
Clipboard (optional)
Python 2 provider (optional)
import neovim
. Using the first available executable for diagnostics.Python 3 provider (optional)
g:python3_host_prog
is not set. Searching for python3 in the environment.g:python3_host_prog
to avoid surprises.Python virtualenv
Ruby provider (optional)
neovim-ruby-host
not found.gem install neovim
to ensure the neovim RubyGem is installed.gem environment
to ensure the gem bin directory is in $PATH.Node.js provider (optional)
Perl provider (optional)
telescope: require("telescope.health").check()
Checking for required plugins
Checking external dependencies
===== Installed extensions =====
Telescope Extension:
harpoon
Telescope Extension:
media_files
vim.lsp: require("vim.lsp.health").check()
vim.treesitter: require("vim.treesitter.health").check()
Nvim-tree version b1127c5deaca10e570ffbb33b4045b775971aaeb Latest as of Feb 14
Describe the bug Every couple of seconds a giant bloody error message pops up.
To Reproduce Just open any file and wait type a couple of keys
Expected behavior Excepting nothing to happen
Heres a error low