You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this is expected by the implementation. Scopes are defined by their parent nodes and don't take into account where they are defined amongst their siblings. This will take some rework to fix.
Describe the bug
Hello, look at this code, if cursor on
::reused
, the global valuereused
should be highlight, but the local valuereused
highlight.Expected behavior
the global value
reused
should be highlight.Output of
:checkhealth nvim_treesitter
health#nvim_treesitter#check
Installation
git
executable found.cc
executable found.elm parser healthcheck
highlights.scm
query found for elmlocals.scm
query found for elmfolds.scm
query found for elmindents.scm
query found for elmc parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for cteal parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for tealjava parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for javaindents.scm
query found for javapython parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for pythondart parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for dartindents.scm
query found for dartlua parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
found.ocaml parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for ocamlgo parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for goindents.scm
query found for gonix parser healthcheck
highlights.scm
query found for nixlocals.scm
query found for nixfolds.scm
query found for nixindents.scm
query found for nixyaml parser healthcheck
highlights.scm
query found for yamllocals.scm
query found for yamlfolds.scm
query found for yamlindents.scm
query found for yamljson parser healthcheck
highlights.scm
found.locals.scm
query found for jsonfolds.scm
query found for jsonindents.scm
query found for jsonjsdoc parser healthcheck
highlights.scm
query found for jsdoclocals.scm
query found for jsdocfolds.scm
query found for jsdocindents.scm
query found for jsdocphp parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for phpjulia parser healthcheck
highlights.scm
query found for julialocals.scm
query found for juliafolds.scm
query found for juliaindents.scm
query found for juliahtml parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for htmlindents.scm
query found for htmltypescript parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for typescriptfennel parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for fennelindents.scm
query found for fennelswift parser healthcheck
highlights.scm
query found for swiftlocals.scm
query found for swiftfolds.scm
query found for swiftindents.scm
query found for swiftquery parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for queryindents.scm
query found for querycpp parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for cppregex parser healthcheck
highlights.scm
found.locals.scm
query found for regexfolds.scm
query found for regexindents.scm
query found for regexverilog parser healthcheck
highlights.scm
found.locals.scm
query found for verilogfolds.scm
query found for verilogindents.scm
query found for verilogruby parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for rubyindents.scm
query found for rubyvue parser healthcheck
highlights.scm
query found for vuelocals.scm
query found for vuefolds.scm
query found for vueindents.scm
query found for vueocamllex parser healthcheck
highlights.scm
found.locals.scm
query found for ocamllexfolds.scm
query found for ocamllexindents.scm
query found for ocamllexscala parser healthcheck
highlights.scm
query found for scalalocals.scm
query found for scalafolds.scm
query found for scalaindents.scm
query found for scalaql parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for qlindents.scm
query found for qlrust parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for rustindents.scm
query found for rusttoml parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for tomlindents.scm
query found for tomlbash parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for bashindents.scm
query found for bashrst parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
query found for rstindents.scm
query found for rstcss parser healthcheck
highlights.scm
found.locals.scm
query found for cssfolds.scm
query found for cssindents.scm
query found for cssocaml_interface parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for ocaml_interfacejavascript parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for javascriptc_sharp parser healthcheck
highlights.scm
found.locals.scm
query found for c_sharpfolds.scm
query found for c_sharpindents.scm
query found for c_sharphaskell parser healthcheck
highlights.scm
query found for haskelllocals.scm
query found for haskellfolds.scm
query found for haskellindents.scm
query found for haskelltsx parser healthcheck
highlights.scm
found.locals.scm
found.folds.scm
found.indents.scm
query found for tsxOutput of
nvim --version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: