Describe the bug
Commit 2c8d401 has resulted in this error for all parsers:
E5108: Error executing lua Vim(lua):E5108: Error executing lua ...im/plugged/nvim-treesitter/lua/nvim-treesitter/query.lua:49: attempt to call field 'get_query' (a nil value)
nvim --version:NVIM v0.5.0-741-gca6815115
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-5 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include
Compiled by travis@travis-job-a0a879c4-7aa6-406a-ab18-7c9770600018
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "
/home/travis/build/neovim/bot-ci/build/neovim/build/nvim.AppDir/usr/share/nvim
"
Run :checkhealth for more info
:checkhealth resultgit executable found.cc executable found.highlights.scm query found for elm:TSUpdate elm (queries might have been adapted for a upstream parser change)locals.scm query found for elm:TSUpdate elm (queries might have been adapted for a upstream parser change)textobjects.scm query found for elm:TSUpdate elm (queries might have been adapted for a upstream parser change)folds.scm query found for elm:TSUpdate elm (queries might have been adapted for a upstream parser change)highlights.scm query found for c:TSUpdate c (queries might have been adapted for a upstream parser change)locals.scm query found for c:TSUpdate c (queries might have been adapted for a upstream parser change)textobjects.scm query found for c:TSUpdate c (queries might have been adapted for a upstream parser change)folds.scm query found for c:TSUpdate c (queries might have been adapted for a upstream parser change)highlights.scm query found for teal:TSUpdate teal (queries might have been adapted for a upstream parser change)locals.scm query found for teal:TSUpdate teal (queries might have been adapted for a upstream parser change)textobjects.scm query found for teal:TSUpdate teal (queries might have been adapted for a upstream parser change)folds.scm query found for teal:TSUpdate teal (queries might have been adapted for a upstream parser change)highlights.scm query found for java:TSUpdate java (queries might have been adapted for a upstream parser change)locals.scm query found for java:TSUpdate java (queries might have been adapted for a upstream parser change)textobjects.scm query found for java:TSUpdate java (queries might have been adapted for a upstream parser change)folds.scm query found for java:TSUpdate java (queries might have been adapted for a upstream parser change)highlights.scm query found for python:TSUpdate python (queries might have been adapted for a upstream parser change)locals.scm query found for python:TSUpdate python (queries might have been adapted for a upstream parser change)textobjects.scm query found for python:TSUpdate python (queries might have been adapted for a upstream parser change)folds.scm query found for python:TSUpdate python (queries might have been adapted for a upstream parser change)highlights.scm query found for dart:TSUpdate dart (queries might have been adapted for a upstream parser change)locals.scm query found for dart:TSUpdate dart (queries might have been adapted for a upstream parser change)textobjects.scm query found for dart:TSUpdate dart (queries might have been adapted for a upstream parser change)folds.scm query found for dart:TSUpdate dart (queries might have been adapted for a upstream parser change)highlights.scm query found for lua:TSUpdate lua (queries might have been adapted for a upstream parser change)locals.scm query found for lua:TSUpdate lua (queries might have been adapted for a upstream parser change)textobjects.scm query found for lua:TSUpdate lua (queries might have been adapted for a upstream parser change)folds.scm query found for lua:TSUpdate lua (queries might have been adapted for a upstream parser change)highlights.scm query found for ocaml:TSUpdate ocaml (queries might have been adapted for a upstream parser change)locals.scm query found for ocaml:TSUpdate ocaml (queries might have been adapted for a upstream parser change)textobjects.scm query found for ocaml:TSUpdate ocaml (queries might have been adapted for a upstream parser change)folds.scm query found for ocaml:TSUpdate ocaml (queries might have been adapted for a upstream parser change)highlights.scm query found for go:TSUpdate go (queries might have been adapted for a upstream parser change)locals.scm query found for go:TSUpdate go (queries might have been adapted for a upstream parser change)textobjects.scm query found for go:TSUpdate go (queries might have been adapted for a upstream parser change)folds.scm query found for go:TSUpdate go (queries might have been adapted for a upstream parser change)highlights.scm query found for nix:TSUpdate nix (queries might have been adapted for a upstream parser change)locals.scm query found for nix:TSUpdate nix (queries might have been adapted for a upstream parser change)textobjects.scm query found for nix:TSUpdate nix (queries might have been adapted for a upstream parser change)folds.scm query found for nix:TSUpdate nix (queries might have been adapted for a upstream parser change)highlights.scm query found for yaml:TSUpdate yaml (queries might have been adapted for a upstream parser change)locals.scm query found for yaml:TSUpdate yaml (queries might have been adapted for a upstream parser change)textobjects.scm query found for yaml:TSUpdate yaml (queries might have been adapted for a upstream parser change)folds.scm query found for yaml:TSUpdate yaml (queries might have been adapted for a upstream parser change)highlights.scm query found for json:TSUpdate json (queries might have been adapted for a upstream parser change)locals.scm query found for json:TSUpdate json (queries might have been adapted for a upstream parser change)textobjects.scm query found for json:TSUpdate json (queries might have been adapted for a upstream parser change)folds.scm query found for json:TSUpdate json (queries might have been adapted for a upstream parser change)highlights.scm query found for jsdoc:TSUpdate jsdoc (queries might have been adapted for a upstream parser change)locals.scm query found for jsdoc:TSUpdate jsdoc (queries might have been adapted for a upstream parser change)textobjects.scm query found for jsdoc:TSUpdate jsdoc (queries might have been adapted for a upstream parser change)folds.scm query found for jsdoc:TSUpdate jsdoc (queries might have been adapted for a upstream parser change)highlights.scm query found for php:TSUpdate php (queries might have been adapted for a upstream parser change)locals.scm query found for php:TSUpdate php (queries might have been adapted for a upstream parser change)textobjects.scm query found for php:TSUpdate php (queries might have been adapted for a upstream parser change)folds.scm query found for php:TSUpdate php (queries might have been adapted for a upstream parser change)highlights.scm query found for julia:TSUpdate julia (queries might have been adapted for a upstream parser change)locals.scm query found for julia:TSUpdate julia (queries might have been adapted for a upstream parser change)textobjects.scm query found for julia:TSUpdate julia (queries might have been adapted for a upstream parser change)folds.scm query found for julia:TSUpdate julia (queries might have been adapted for a upstream parser change)highlights.scm query found for html:TSUpdate html (queries might have been adapted for a upstream parser change)locals.scm query found for html:TSUpdate html (queries might have been adapted for a upstream parser change)textobjects.scm query found for html:TSUpdate html (queries might have been adapted for a upstream parser change)folds.scm query found for html:TSUpdate html (queries might have been adapted for a upstream parser change)highlights.scm query found for typescript:TSUpdate typescript (queries might have been adapted for a upstream parser change)locals.scm query found for typescript:TSUpdate typescript (queries might have been adapted for a upstream parser change)textobjects.scm query found for typescript:TSUpdate typescript (queries might have been adapted for a upstream parser change)folds.scm query found for typescript:TSUpdate typescript (queries might have been adapted for a upstream parser change)highlights.scm query found for fennel:TSUpdate fennel (queries might have been adapted for a upstream parser change)locals.scm query found for fennel:TSUpdate fennel (queries might have been adapted for a upstream parser change)textobjects.scm query found for fennel:TSUpdate fennel (queries might have been adapted for a upstream parser change)folds.scm query found for fennel:TSUpdate fennel (queries might have been adapted for a upstream parser change)highlights.scm query found for swift:TSUpdate swift (queries might have been adapted for a upstream parser change)locals.scm query found for swift:TSUpdate swift (queries might have been adapted for a upstream parser change)textobjects.scm query found for swift:TSUpdate swift (queries might have been adapted for a upstream parser change)folds.scm query found for swift:TSUpdate swift (queries might have been adapted for a upstream parser change)highlights.scm query found for query:TSUpdate query (queries might have been adapted for a upstream parser change)locals.scm query found for query:TSUpdate query (queries might have been adapted for a upstream parser change)textobjects.scm query found for query:TSUpdate query (queries might have been adapted for a upstream parser change)folds.scm query found for query:TSUpdate query (queries might have been adapted for a upstream parser change)highlights.scm query found for cpp:TSUpdate cpp (queries might have been adapted for a upstream parser change)locals.scm query found for cpp:TSUpdate cpp (queries might have been adapted for a upstream parser change)textobjects.scm query found for cpp:TSUpdate cpp (queries might have been adapted for a upstream parser change)folds.scm query found for cpp:TSUpdate cpp (queries might have been adapted for a upstream parser change)highlights.scm query found for regex:TSUpdate regex (queries might have been adapted for a upstream parser change)locals.scm query found for regex:TSUpdate regex (queries might have been adapted for a upstream parser change)textobjects.scm query found for regex:TSUpdate regex (queries might have been adapted for a upstream parser change)folds.scm query found for regex:TSUpdate regex (queries might have been adapted for a upstream parser change)highlights.scm query found for ql:TSUpdate ql (queries might have been adapted for a upstream parser change)locals.scm query found for ql:TSUpdate ql (queries might have been adapted for a upstream parser change)textobjects.scm query found for ql:TSUpdate ql (queries might have been adapted for a upstream parser change)folds.scm query found for ql:TSUpdate ql (queries might have been adapted for a upstream parser change)highlights.scm query found for ruby:TSUpdate ruby (queries might have been adapted for a upstream parser change)locals.scm query found for ruby:TSUpdate ruby (queries might have been adapted for a upstream parser change)textobjects.scm query found for ruby:TSUpdate ruby (queries might have been adapted for a upstream parser change)folds.scm query found for ruby:TSUpdate ruby (queries might have been adapted for a upstream parser change)highlights.scm query found for vue:TSUpdate vue (queries might have been adapted for a upstream parser change)locals.scm query found for vue:TSUpdate vue (queries might have been adapted for a upstream parser change)textobjects.scm query found for vue:TSUpdate vue (queries might have been adapted for a upstream parser change)folds.scm query found for vue:TSUpdate vue (queries might have been adapted for a upstream parser change)highlights.scm query found for ocamllex:TSUpdate ocamllex (queries might have been adapted for a upstream parser change)locals.scm query found for ocamllex:TSUpdate ocamllex (queries might have been adapted for a upstream parser change)textobjects.scm query found for ocamllex:TSUpdate ocamllex (queries might have been adapted for a upstream parser change)folds.scm query found for ocamllex:TSUpdate ocamllex (queries might have been adapted for a upstream parser change)highlights.scm query found for scala:TSUpdate scala (queries might have been adapted for a upstream parser change)locals.scm query found for scala:TSUpdate scala (queries might have been adapted for a upstream parser change)textobjects.scm query found for scala:TSUpdate scala (queries might have been adapted for a upstream parser change)folds.scm query found for scala:TSUpdate scala (queries might have been adapted for a upstream parser change)highlights.scm query found for toml:TSUpdate toml (queries might have been adapted for a upstream parser change)locals.scm query found for toml:TSUpdate toml (queries might have been adapted for a upstream parser change)textobjects.scm query found for toml:TSUpdate toml (queries might have been adapted for a upstream parser change)folds.scm query found for toml:TSUpdate toml (queries might have been adapted for a upstream parser change)highlights.scm query found for rust:TSUpdate rust (queries might have been adapted for a upstream parser change)locals.scm query found for rust:TSUpdate rust (queries might have been adapted for a upstream parser change)textobjects.scm query found for rust:TSUpdate rust (queries might have been adapted for a upstream parser change)folds.scm query found for rust:TSUpdate rust (queries might have been adapted for a upstream parser change)highlights.scm query found for bash:TSUpdate bash (queries might have been adapted for a upstream parser change)locals.scm query found for bash:TSUpdate bash (queries might have been adapted for a upstream parser change)textobjects.scm query found for bash:TSUpdate bash (queries might have been adapted for a upstream parser change)folds.scm query found for bash:TSUpdate bash (queries might have been adapted for a upstream parser change)highlights.scm query found for ocaml_interface:TSUpdate ocaml_interface (queries might have been adapted for a upstream parser change)locals.scm query found for ocaml_interface:TSUpdate ocaml_interface (queries might have been adapted for a upstream parser change)textobjects.scm query found for ocaml_interface:TSUpdate ocaml_interface (queries might have been adapted for a upstream parser change)folds.scm query found for ocaml_interface:TSUpdate ocaml_interface (queries might have been adapted for a upstream parser change)highlights.scm query found for rst:TSUpdate rst (queries might have been adapted for a upstream parser change)locals.scm query found for rst:TSUpdate rst (queries might have been adapted for a upstream parser change)textobjects.scm query found for rst:TSUpdate rst (queries might have been adapted for a upstream parser change)folds.scm query found for rst:TSUpdate rst (queries might have been adapted for a upstream parser change)highlights.scm query found for css:TSUpdate css (queries might have been adapted for a upstream parser change)locals.scm query found for css:TSUpdate css (queries might have been adapted for a upstream parser change)textobjects.scm query found for css:TSUpdate css (queries might have been adapted for a upstream parser change)folds.scm query found for css:TSUpdate css (queries might have been adapted for a upstream parser change)highlights.scm query found for javascript:TSUpdate javascript (queries might have been adapted for a upstream parser change)locals.scm query found for javascript:TSUpdate javascript (queries might have been adapted for a upstream parser change)textobjects.scm query found for javascript:TSUpdate javascript (queries might have been adapted for a upstream parser change)folds.scm query found for javascript:TSUpdate javascript (queries might have been adapted for a upstream parser change)highlights.scm query found for c_sharp:TSUpdate c_sharp (queries might have been adapted for a upstream parser change)locals.scm query found for c_sharp:TSUpdate c_sharp (queries might have been adapted for a upstream parser change)textobjects.scm query found for c_sharp:TSUpdate c_sharp (queries might have been adapted for a upstream parser change)folds.scm query found for c_sharp:TSUpdate c_sharp (queries might have been adapted for a upstream parser change)highlights.scm query found for haskell:TSUpdate haskell (queries might have been adapted for a upstream parser change)locals.scm query found for haskell:TSUpdate haskell (queries might have been adapted for a upstream parser change)textobjects.scm query found for haskell:TSUpdate haskell (queries might have been adapted for a upstream parser change)folds.scm query found for haskell:TSUpdate haskell (queries might have been adapted for a upstream parser change)highlights.scm query found for markdown:TSUpdate markdown (queries might have been adapted for a upstream parser change)locals.scm query found for markdown:TSUpdate markdown (queries might have been adapted for a upstream parser change)textobjects.scm query found for markdown:TSUpdate markdown (queries might have been adapted for a upstream parser change)folds.scm query found for markdown:TSUpdate markdown (queries might have been adapted for a upstream parser change)highlights.scm query found for tsx:TSUpdate tsx (queries might have been adapted for a upstream parser change)locals.scm query found for tsx:TSUpdate tsx (queries might have been adapted for a upstream parser change)textobjects.scm query found for tsx:TSUpdate tsx (queries might have been adapted for a upstream parser change)folds.scm query found for tsx:TSUpdate tsx (queries might have been adapted for a upstream parser change)escape-time (500) is higher than 300msfocus-events is not enabled. |'autoread'| may not work.focus-events in ~/.tmux.conf: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.(I have ran TSUpdate to update all the parsers for Treesitter)
Looking at your nvim's version, it seems that you are using an fairly old version.
Most of the time, a plugin update on nvim-treesitter is reflecting an update on nvim, could you try updating nvim, and see if the issue is fixed ?
latest is NVIM v0.5.0-751-gd198aa511 please update your nvim version :)
yup 751 fixed the issue, thanks!
Most helpful comment
yup 751 fixed the issue, thanks!