Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSX test files not working #38

Closed
davidarias opened this issue Jan 30, 2024 · 11 comments
Closed

TSX test files not working #38

davidarias opened this issue Jan 30, 2024 · 11 comments

Comments

@davidarias
Copy link

Seems it does not recognize tests inside tsx files:

Screenshot from 2024-01-30 18-08-04

I followed the installation instructions (using lazy) on a clean install, and I have correctly installed treesitter grammar for typescript, tsx and javascript,

Is there some configuration that I am not doing correctly?

Thanks!

@quiqueporta
Copy link

I have the same problem with the .tsx files.
+1

@marilari88
Copy link
Owner

Hi @davidarias and @quiqueporta, I work every day with tsx test files and i have not any trouble. It seems like your nvim do not manage to discover tests for these files. Can you write the output of :TSPlayground / :InspectTree of the tsx file?

@davidarias
Copy link
Author

davidarias commented Jan 31, 2024

Hi @marilari88 Thanks for the quick answer!

The result of :InspectTree is the following error:

Error executing Lua callback: ...usr/share/nvim/runtime/lua/vim/treesitter/playground.lua:241: No parser available for the given buffer
stack traceback:
	[C]: in function 'assert'
	...usr/share/nvim/runtime/lua/vim/treesitter/playground.lua:241: in function 'inspect_tree'
	.../nvim/2819/usr/share/nvim/runtime/lua/vim/treesitter.lua:496: in function 'inspect_tree'
	/snap/nvim/2819/usr/share/nvim/runtime/plugin/nvim.lua:18: in function </snap/nvim/2819/usr/share/nvim/runtime/plugin/nvim.lua:9>

Seems related to treesitter, but I don't understand why, I have installed (and reinstalled, just in case 😅 ) the grammar for tsx, js and ts, in fact the highlighting of tsx files works perfectly fine (I understand that the syntax highlight uses treesitter for parsing...)

@marilari88
Copy link
Owner

marilari88 commented Jan 31, 2024

@davidarias Treesitter is not the only way to get the syntax highlighting. It seems like you don't have the parser for that file. Can you run :checkhealth or :TSModuleInfo ?

@davidarias
Copy link
Author

davidarias commented Jan 31, 2024

@marilari88 Sorry, I executed :InspectTree in the wrong buffer, my bad 😅 This is the output executed on the tsx file of the screenshot:

(comment) ; [1:1 - 6]
(import_statement) ; [2:1 - 37]
 (import_clause) ; [2:8 - 23]
  (named_imports) ; [2:8 - 23]
   (import_specifier) ; [2:10 - 15]
    name: (identifier) ; [2:10 - 15]
   (import_specifier) ; [2:18 - 21]
    name: (identifier) ; [2:18 - 21]
 source: (string) ; [2:30 - 37]
  (string_fragment) ; [2:31 - 36]
(expression_statement) ; [4:1 - 6:2]
 (call_expression) ; [4:1 - 6:2]
  function: (identifier) ; [4:1 - 4]
  arguments: (arguments) ; [4:5 - 6:2]
   (string) ; [4:6 - 10]
    (string_fragment) ; [4:7 - 9]
   (arrow_function) ; [4:13 - 6:1]
    parameters: (formal_parameters) ; [4:13 - 14]
    body: (statement_block) ; [4:19 - 6:1]
     (expression_statement) ; [5:3 - 25]
      (call_expression) ; [5:3 - 25]
       function: (member_expression) ; [5:3 - 19]
        object: (call_expression) ; [5:3 - 14]
         function: (identifier) ; [5:3 - 8]
         arguments: (arguments) ; [5:9 - 14]
          (true) ; [5:10 - 13]
        property: (property_identifier) ; [5:16 - 19]
       arguments: (arguments) ; [5:20 - 25]
        (true) ; [5:21 - 24]

And this is the result of :TSModuleInfo

                    autotag  highlight  illuminate  incremental_selection  indent  
ada                 ✗        ✓          ✓           ✓                      ✗       
agda                ✗        ✓          ✗           ✓                      ✗       
angular             ✗        ✗          ✗           ✗                      ✗       
apex                ✗        ✓          ✓           ✓                      ✗       
arduino             ✗        ✓          ✓           ✓                      ✓       
astro               ✗        ✓          ✓           ✓                      ✓       
authzed             ✗        ✓          ✗           ✓                      ✗       
awk                 ✗        ✓          ✗           ✓                      ✗       
bash                ✗        ✓          ✓           ✓                      ✗       
bass                ✗        ✓          ✓           ✓                      ✓       
beancount           ✗        ✓          ✗           ✓                      ✗       
bibtex              ✗        ✓          ✗           ✓                      ✓       
bicep               ✗        ✓          ✓           ✓                      ✓       
bitbake             ✗        ✓          ✓           ✓                      ✓       
blueprint           ✗        ✓          ✗           ✓                      ✗       
c                   ✗        ✓          ✓           ✓                      ✓       
c_sharp             ✗        ✓          ✓           ✓                      ✗       
cairo               ✗        ✓          ✓           ✓                      ✓       
capnp               ✗        ✓          ✓           ✓                      ✓       
chatito             ✗        ✓          ✓           ✓                      ✓       
clojure             ✗        ✓          ✓           ✓                      ✗       
cmake               ✗        ✓          ✗           ✓                      ✓       
comment             ✗        ✓          ✗           ✓                      ✗       
commonlisp          ✗        ✓          ✓           ✓                      ✗       
cooklang            ✗        ✓          ✗           ✓                      ✗       
corn                ✗        ✓          ✓           ✓                      ✓       
cpon                ✗        ✓          ✓           ✓                      ✓       
cpp                 ✗        ✓          ✓           ✓                      ✓       
css                 ✗        ✓          ✗           ✓                      ✓       
csv                 ✗        ✓          ✗           ✓                      ✗       
cuda                ✗        ✓          ✓           ✓                      ✓       
cue                 ✗        ✓          ✓           ✓                      ✓       
dart                ✗        ✓          ✓           ✓                      ✓       
devicetree          ✗        ✓          ✓           ✓                      ✓       
dhall               ✗        ✓          ✗           ✓                      ✗       
diff                ✗        ✓          ✗           ✓                      ✗       
disassembly         ✗        ✗          ✗           ✗                      ✗       
dockerfile          ✗        ✓          ✗           ✓                      ✗       
dot                 ✗        ✓          ✗           ✓                      ✗       
doxygen             ✗        ✓          ✗           ✓                      ✓       
dtd                 ✗        ✓          ✓           ✓                      ✗       
ebnf                ✗        ✓          ✗           ✓                      ✗       
eds                 ✗        ✓          ✗           ✓                      ✗       
eex                 ✗        ✓          ✗           ✓                      ✗       
elixir              ✗        ✓          ✓           ✓                      ✓       
elm                 ✗        ✓          ✗           ✓                      ✗       
elsa                ✗        ✓          ✓           ✓                      ✓       
elvish              ✗        ✓          ✗           ✓                      ✗       
embedded_template   ✗        ✓          ✗           ✓                      ✗       
erlang              ✗        ✓          ✗           ✓                      ✗       
facility            ✗        ✓          ✗           ✓                      ✓       
fennel              ✗        ✓          ✓           ✓                      ✗       
firrtl              ✗        ✓          ✓           ✓                      ✓       
fish                ✗        ✓          ✓           ✓                      ✓       
foam                ✗        ✓          ✓           ✓                      ✓       
forth               ✗        ✓          ✓           ✓                      ✓       
fortran             ✗        ✓          ✗           ✓                      ✓       
fsh                 ✗        ✓          ✗           ✓                      ✗       
func                ✗        ✓          ✗           ✓                      ✗       
fusion              ✗        ✓          ✓           ✓                      ✓       
gdscript            ✗        ✓          ✓           ✓                      ✓       
git_config          ✗        ✓          ✗           ✓                      ✗       
git_rebase          ✗        ✓          ✗           ✓                      ✗       
gitattributes       ✗        ✓          ✓           ✓                      ✗       
gitcommit           ✗        ✓          ✗           ✓                      ✗       
gitignore           ✗        ✓          ✗           ✓                      ✗       
gleam               ✗        ✓          ✓           ✓                      ✓       
glimmer             ✗        ✓          ✓           ✓                      ✓       
glsl                ✗        ✓          ✓           ✓                      ✓       
gn                  ✗        ✓          ✓           ✓                      ✓       
gnuplot             ✗        ✗          ✗           ✗                      ✗       
go                  ✗        ✓          ✓           ✓                      ✓       
godot_resource      ✗        ✓          ✓           ✓                      ✗       
gomod               ✗        ✓          ✗           ✓                      ✗       
gosum               ✗        ✓          ✗           ✓                      ✗       
gowork              ✗        ✓          ✗           ✓                      ✗       
gpg                 ✗        ✓          ✗           ✓                      ✗       
graphql             ✗        ✓          ✗           ✓                      ✓       
groovy              ✗        ✓          ✓           ✓                      ✓       
gstlaunch           ✗        ✓          ✗           ✓                      ✗       
hack                ✗        ✓          ✗           ✓                      ✗       
hare                ✗        ✓          ✓           ✓                      ✓       
haskell             ✗        ✓          ✗           ✓                      ✗       
haskell_persistent  ✗        ✓          ✗           ✓                      ✗       
hcl                 ✗        ✓          ✗           ✓                      ✓       
heex                ✗        ✓          ✓           ✓                      ✓       
hjson               ✗        ✓          ✓           ✓                      ✓       
hlsl                ✗        ✓          ✓           ✓                      ✓       
hocon               ✗        ✓          ✗           ✓                      ✗       
hoon                ✗        ✓          ✓           ✓                      ✗       
html                ✗        ✓          ✓           ✓                      ✓       
htmldjango          ✗        ✓          ✗           ✓                      ✓       
http                ✗        ✓          ✗           ✓                      ✗       
hurl                ✗        ✓          ✗           ✓                      ✓       
ini                 ✗        ✓          ✗           ✓                      ✗       
ispc                ✗        ✓          ✓           ✓                      ✓       
janet_simple        ✗        ✓          ✓           ✓                      ✗       
java                ✗        ✓          ✓           ✓                      ✓       
javascript          ✗        ✓          ✓           ✓                      ✓       
jq                  ✗        ✓          ✓           ✓                      ✗       
jsdoc               ✗        ✓          ✗           ✓                      ✗       
json                ✗        ✓          ✓           ✓                      ✓       
json5               ✗        ✓          ✗           ✓                      ✗       
jsonc               ✗        ✓          ✓           ✓                      ✓       
jsonnet             ✗        ✓          ✓           ✓                      ✗       
julia               ✗        ✓          ✓           ✓                      ✓       
kconfig             ✗        ✓          ✓           ✓                      ✓       
kdl                 ✗        ✓          ✓           ✓                      ✓       
kotlin              ✗        ✓          ✓           ✓                      ✗       
kusto               ✗        ✓          ✗           ✓                      ✗       
lalrpop             ✗        ✓          ✓           ✓                      ✗       
latex               ✗        ✓          ✗           ✓                      ✗       
ledger              ✗        ✓          ✗           ✓                      ✓       
leo                 ✗        ✓          ✗           ✓                      ✓       
linkerscript        ✗        ✓          ✓           ✓                      ✓       
liquidsoap          ✗        ✓          ✓           ✓                      ✓       
llvm                ✗        ✓          ✗           ✓                      ✗       
lua                 ✗        ✓          ✓           ✓                      ✓       
luadoc              ✗        ✓          ✗           ✓                      ✗       
luap                ✗        ✓          ✗           ✓                      ✗       
luau                ✗        ✓          ✓           ✓                      ✓       
m68k                ✗        ✓          ✓           ✓                      ✗       
make                ✗        ✓          ✗           ✓                      ✗       
markdown            ✗        ✓          ✗           ✓                      ✓       
markdown_inline     ✗        ✓          ✗           ✓                      ✗       
matlab              ✗        ✓          ✓           ✓                      ✓       
menhir              ✗        ✓          ✗           ✓                      ✗       
mermaid             ✗        ✓          ✗           ✓                      ✗       
meson               ✗        ✓          ✗           ✓                      ✓       
nasm                ✗        ✓          ✗           ✓                      ✗       
nickel              ✗        ✓          ✗           ✓                      ✓       
nim                 ✗        ✓          ✓           ✓                      ✗       
nim_format_string   ✗        ✓          ✗           ✓                      ✗       
ninja               ✗        ✓          ✗           ✓                      ✓       
nix                 ✗        ✓          ✓           ✓                      ✗       
norg                ✗        ✗          ✗           ✓                      ✗       
nqc                 ✗        ✓          ✓           ✓                      ✓       
objc                ✗        ✓          ✓           ✓                      ✓       
objdump             ✗        ✓          ✗           ✓                      ✗       
ocaml               ✗        ✓          ✓           ✓                      ✓       
ocaml_interface     ✗        ✓          ✓           ✓                      ✓       
odin                ✗        ✓          ✓           ✓                      ✓       
org                 ✗        ✗          ✗           ✓                      ✗       
pascal              ✗        ✓          ✓           ✓                      ✓       
passwd              ✗        ✓          ✗           ✓                      ✗       
pem                 ✗        ✓          ✗           ✓                      ✗       
perl                ✗        ✓          ✗           ✓                      ✗       
php                 ✗        ✓          ✓           ✓                      ✓       
php_only            ✗        ✗          ✗           ✗                      ✗       
phpdoc              ✗        ✓          ✗           ✓                      ✗       
pioasm              ✗        ✓          ✗           ✓                      ✗       
po                  ✗        ✓          ✗           ✓                      ✗       
pod                 ✗        ✓          ✗           ✓                      ✗       
poe_filter          ✗        ✓          ✗           ✓                      ✓       
pony                ✗        ✓          ✓           ✓                      ✓       
printf              ✗        ✗          ✗           ✗                      ✗       
prisma              ✗        ✓          ✗           ✓                      ✗       
promql              ✗        ✓          ✗           ✓                      ✗       
properties          ✗        ✓          ✓           ✓                      ✗       
proto               ✗        ✓          ✗           ✓                      ✗       
prql                ✗        ✓          ✗           ✓                      ✗       
psv                 ✗        ✓          ✗           ✓                      ✗       
pug                 ✗        ✓          ✗           ✓                      ✗       
puppet              ✗        ✓          ✓           ✓                      ✓       
purescript          ✗        ✓          ✓           ✓                      ✗       
pymanifest          ✗        ✓          ✗           ✓                      ✗       
python              ✗        ✓          ✓           ✓                      ✓       
ql                  ✗        ✓          ✓           ✓                      ✓       
qmldir              ✗        ✓          ✗           ✓                      ✗       
qmljs               ✗        ✓          ✗           ✓                      ✗       
query               ✗        ✓          ✓           ✓                      ✓       
r                   ✗        ✓          ✓           ✓                      ✓       
racket              ✗        ✓          ✗           ✓                      ✗       
rasi                ✗        ✓          ✓           ✓                      ✓       
rbs                 ✗        ✓          ✗           ✓                      ✓       
re2c                ✗        ✓          ✓           ✓                      ✓       
regex               ✗        ✓          ✗           ✓                      ✗       
rego                ✗        ✓          ✗           ✓                      ✗       
requirements        ✗        ✓          ✗           ✓                      ✗       
rnoweb              ✗        ✓          ✗           ✓                      ✗       
robot               ✗        ✓          ✗           ✓                      ✓       
ron                 ✗        ✓          ✓           ✓                      ✓       
rst                 ✗        ✓          ✓           ✓                      ✗       
ruby                ✗        ✓          ✓           ✓                      ✓       
rust                ✗        ✓          ✓           ✓                      ✓       
scala               ✗        ✓          ✓           ✓                      ✗       
scheme              ✗        ✓          ✗           ✓                      ✗       
scss                ✗        ✓          ✗           ✓                      ✓       
slang               ✗        ✓          ✓           ✓                      ✓       
slint               ✗        ✓          ✗           ✓                      ✓       
smali               ✗        ✓          ✓           ✓                      ✓       
smithy              ✗        ✓          ✗           ✓                      ✗       
snakemake           ✗        ✓          ✓           ✓                      ✗       
solidity            ✗        ✓          ✗           ✓                      ✗       
soql                ✗        ✓          ✗           ✓                      ✗       
sosl                ✗        ✓          ✗           ✓                      ✗       
sparql              ✗        ✓          ✓           ✓                      ✓       
sql                 ✗        ✓          ✗           ✓                      ✓       
squirrel            ✗        ✓          ✓           ✓                      ✓       
ssh_config          ✗        ✓          ✓           ✓                      ✓       
starlark            ✗        ✓          ✓           ✓                      ✓       
strace              ✗        ✓          ✗           ✓                      ✗       
styled              ✗        ✗          ✗           ✗                      ✗       
supercollider       ✗        ✓          ✓           ✓                      ✓       
surface             ✗        ✓          ✗           ✓                      ✓       
svelte              ✗        ✓          ✗           ✓                      ✓       
sxhkdrc             ✗        ✓          ✗           ✓                      ✗       
systemtap           ✗        ✓          ✓           ✓                      ✗       
t32                 ✗        ✓          ✓           ✓                      ✓       
tablegen            ✗        ✓          ✓           ✓                      ✓       
templ               ✗        ✓          ✗           ✓                      ✗       
terraform           ✗        ✓          ✗           ✓                      ✓       
textproto           ✗        ✓          ✗           ✓                      ✓       
thrift              ✗        ✓          ✓           ✓                      ✓       
tiger               ✗        ✓          ✓           ✓                      ✓       
tlaplus             ✗        ✓          ✓           ✓                      ✗       
todotxt             ✗        ✓          ✗           ✓                      ✗       
toml                ✗        ✓          ✓           ✓                      ✓       
tsv                 ✗        ✓          ✗           ✓                      ✗       
tsx                 ✗        ✓          ✓           ✓                      ✓       
turtle              ✗        ✓          ✓           ✓                      ✓       
twig                ✗        ✓          ✗           ✓                      ✗       
typescript          ✗        ✓          ✓           ✓                      ✓       
typoscript          ✗        ✓          ✗           ✓                      ✓       
udev                ✗        ✓          ✓           ✓                      ✗       
ungrammar           ✗        ✓          ✓           ✓                      ✓       
usd                 ✗        ✓          ✓           ✓                      ✓       
uxntal              ✗        ✓          ✓           ✓                      ✓       
v                   ✗        ✓          ✓           ✓                      ✓       
vala                ✗        ✓          ✗           ✓                      ✗       
verilog             ✗        ✓          ✓           ✓                      ✗       
vhs                 ✗        ✓          ✗           ✓                      ✗       
vim                 ✗        ✓          ✓           ✓                      ✗       
vimdoc              ✗        ✓          ✗           ✓                      ✗       
vue                 ✗        ✓          ✗           ✓                      ✓       
wgsl                ✗        ✓          ✗           ✓                      ✓       
wgsl_bevy           ✗        ✓          ✗           ✓                      ✓       
xcompose            ✗        ✓          ✓           ✓                      ✗       
xml                 ✗        ✓          ✓           ✓                      ✓       
yaml                ✗        ✓          ✓           ✓                      ✓       
yang                ✗        ✓          ✗           ✓                      ✓       
yuck                ✗        ✓          ✓           ✓                      ✓       
zathurarc           ✗        ✗          ✗           ✗                      ✗       
zig                 ✗        ✓          ✓           ✓                      ✓       

>> textobjects      lsp_interop  move  select  swap  
ada                 ✗            ✓     ✗       ✗     
agda                ✗            ✓     ✗       ✗     
angular             ✗            ✗     ✗       ✗     
apex                ✗            ✓     ✗       ✗     
arduino             ✗            ✓     ✗       ✗     
astro               ✗            ✓     ✗       ✗     
authzed             ✗            ✓     ✗       ✗     
awk                 ✗            ✓     ✗       ✗     
bash                ✗            ✓     ✗       ✗     
bass                ✗            ✓     ✗       ✗     
beancount           ✗            ✓     ✗       ✗     
bibtex              ✗            ✓     ✗       ✗     
bicep               ✗            ✓     ✗       ✗     
bitbake             ✗            ✓     ✗       ✗     
blueprint           ✗            ✓     ✗       ✗     
c                   ✗            ✓     ✗       ✗     
c_sharp             ✗            ✓     ✗       ✗     
cairo               ✗            ✓     ✗       ✗     
capnp               ✗            ✓     ✗       ✗     
chatito             ✗            ✓     ✗       ✗     
clojure             ✗            ✓     ✗       ✗     
cmake               ✗            ✓     ✗       ✗     
comment             ✗            ✓     ✗       ✗     
commonlisp          ✗            ✓     ✗       ✗     
cooklang            ✗            ✓     ✗       ✗     
corn                ✗            ✓     ✗       ✗     
cpon                ✗            ✓     ✗       ✗     
cpp                 ✗            ✓     ✗       ✗     
css                 ✗            ✓     ✗       ✗     
csv                 ✗            ✓     ✗       ✗     
cuda                ✗            ✓     ✗       ✗     
cue                 ✗            ✓     ✗       ✗     
dart                ✗            ✓     ✗       ✗     
devicetree          ✗            ✓     ✗       ✗     
dhall               ✗            ✓     ✗       ✗     
diff                ✗            ✓     ✗       ✗     
disassembly         ✗            ✗     ✗       ✗     
dockerfile          ✗            ✓     ✗       ✗     
dot                 ✗            ✓     ✗       ✗     
doxygen             ✗            ✓     ✗       ✗     
dtd                 ✗            ✓     ✗       ✗     
ebnf                ✗            ✓     ✗       ✗     
eds                 ✗            ✓     ✗       ✗     
eex                 ✗            ✓     ✗       ✗     
elixir              ✗            ✓     ✗       ✗     
elm                 ✗            ✓     ✗       ✗     
elsa                ✗            ✓     ✗       ✗     
elvish              ✗            ✓     ✗       ✗     
embedded_template   ✗            ✓     ✗       ✗     
erlang              ✗            ✓     ✗       ✗     
facility            ✗            ✓     ✗       ✗     
fennel              ✗            ✓     ✗       ✗     
firrtl              ✗            ✓     ✗       ✗     
fish                ✗            ✓     ✗       ✗     
foam                ✗            ✓     ✗       ✗     
forth               ✗            ✓     ✗       ✗     
fortran             ✗            ✓     ✗       ✗     
fsh                 ✗            ✓     ✗       ✗     
func                ✗            ✓     ✗       ✗     
fusion              ✗            ✓     ✗       ✗     
gdscript            ✗            ✓     ✗       ✗     
git_config          ✗            ✓     ✗       ✗     
git_rebase          ✗            ✓     ✗       ✗     
gitattributes       ✗            ✓     ✗       ✗     
gitcommit           ✗            ✓     ✗       ✗     
gitignore           ✗            ✓     ✗       ✗     
gleam               ✗            ✓     ✗       ✗     
glimmer             ✗            ✓     ✗       ✗     
glsl                ✗            ✓     ✗       ✗     
gn                  ✗            ✓     ✗       ✗     
gnuplot             ✗            ✗     ✗       ✗     
go                  ✗            ✓     ✗       ✗     
godot_resource      ✗            ✓     ✗       ✗     
gomod               ✗            ✓     ✗       ✗     
gosum               ✗            ✓     ✗       ✗     
gowork              ✗            ✓     ✗       ✗     
gpg                 ✗            ✓     ✗       ✗     
graphql             ✗            ✓     ✗       ✗     
groovy              ✗            ✓     ✗       ✗     
gstlaunch           ✗            ✓     ✗       ✗     
hack                ✗            ✓     ✗       ✗     
hare                ✗            ✓     ✗       ✗     
haskell             ✗            ✓     ✗       ✗     
haskell_persistent  ✗            ✓     ✗       ✗     
hcl                 ✗            ✓     ✗       ✗     
heex                ✗            ✓     ✗       ✗     
hjson               ✗            ✓     ✗       ✗     
hlsl                ✗            ✓     ✗       ✗     
hocon               ✗            ✓     ✗       ✗     
hoon                ✗            ✓     ✗       ✗     
html                ✗            ✓     ✗       ✗     
htmldjango          ✗            ✓     ✗       ✗     
http                ✗            ✓     ✗       ✗     
hurl                ✗            ✓     ✗       ✗     
ini                 ✗            ✓     ✗       ✗     
ispc                ✗            ✓     ✗       ✗     
janet_simple        ✗            ✓     ✗       ✗     
java                ✗            ✓     ✗       ✗     
javascript          ✗            ✓     ✗       ✗     
jq                  ✗            ✓     ✗       ✗     
jsdoc               ✗            ✓     ✗       ✗     
json                ✗            ✓     ✗       ✗     
json5               ✗            ✓     ✗       ✗     
jsonc               ✗            ✓     ✗       ✗     
jsonnet             ✗            ✓     ✗       ✗     
julia               ✗            ✓     ✗       ✗     
kconfig             ✗            ✓     ✗       ✗     
kdl                 ✗            ✓     ✗       ✗     
kotlin              ✗            ✓     ✗       ✗     
kusto               ✗            ✓     ✗       ✗     
lalrpop             ✗            ✓     ✗       ✗     
latex               ✗            ✓     ✗       ✗     
ledger              ✗            ✓     ✗       ✗     
leo                 ✗            ✓     ✗       ✗     
linkerscript        ✗            ✓     ✗       ✗     
liquidsoap          ✗            ✓     ✗       ✗     
llvm                ✗            ✓     ✗       ✗     
lua                 ✗            ✓     ✗       ✗     
luadoc              ✗            ✓     ✗       ✗     
luap                ✗            ✓     ✗       ✗     
luau                ✗            ✓     ✗       ✗     
m68k                ✗            ✓     ✗       ✗     
make                ✗            ✓     ✗       ✗     
markdown            ✗            ✓     ✗       ✗     
markdown_inline     ✗            ✓     ✗       ✗     
matlab              ✗            ✓     ✗       ✗     
menhir              ✗            ✓     ✗       ✗     
mermaid             ✗            ✓     ✗       ✗     
meson               ✗            ✓     ✗       ✗     
nasm                ✗            ✓     ✗       ✗     
nickel              ✗            ✓     ✗       ✗     
nim                 ✗            ✓     ✗       ✗     
nim_format_string   ✗            ✓     ✗       ✗     
ninja               ✗            ✓     ✗       ✗     
nix                 ✗            ✓     ✗       ✗     
norg                ✗            ✓     ✗       ✗     
nqc                 ✗            ✓     ✗       ✗     
objc                ✗            ✓     ✗       ✗     
objdump             ✗            ✓     ✗       ✗     
ocaml               ✗            ✓     ✗       ✗     
ocaml_interface     ✗            ✓     ✗       ✗     
odin                ✗            ✓     ✗       ✗     
org                 ✗            ✓     ✗       ✗     
pascal              ✗            ✓     ✗       ✗     
passwd              ✗            ✓     ✗       ✗     
pem                 ✗            ✓     ✗       ✗     
perl                ✗            ✓     ✗       ✗     
php                 ✗            ✓     ✗       ✗     
php_only            ✗            ✗     ✗       ✗     
phpdoc              ✗            ✓     ✗       ✗     
pioasm              ✗            ✓     ✗       ✗     
po                  ✗            ✓     ✗       ✗     
pod                 ✗            ✓     ✗       ✗     
poe_filter          ✗            ✓     ✗       ✗     
pony                ✗            ✓     ✗       ✗     
printf              ✗            ✗     ✗       ✗     
prisma              ✗            ✓     ✗       ✗     
promql              ✗            ✓     ✗       ✗     
properties          ✗            ✓     ✗       ✗     
proto               ✗            ✓     ✗       ✗     
prql                ✗            ✓     ✗       ✗     
psv                 ✗            ✓     ✗       ✗     
pug                 ✗            ✓     ✗       ✗     
puppet              ✗            ✓     ✗       ✗     
purescript          ✗            ✓     ✗       ✗     
pymanifest          ✗            ✓     ✗       ✗     
python              ✗            ✓     ✗       ✗     
ql                  ✗            ✓     ✗       ✗     
qmldir              ✗            ✓     ✗       ✗     
qmljs               ✗            ✓     ✗       ✗     
query               ✗            ✓     ✗       ✗     
r                   ✗            ✓     ✗       ✗     
racket              ✗            ✓     ✗       ✗     
rasi                ✗            ✓     ✗       ✗     
rbs                 ✗            ✓     ✗       ✗     
re2c                ✗            ✓     ✗       ✗     
regex               ✗            ✓     ✗       ✗     
rego                ✗            ✓     ✗       ✗     
requirements        ✗            ✓     ✗       ✗     
rnoweb              ✗            ✓     ✗       ✗     
robot               ✗            ✓     ✗       ✗     
ron                 ✗            ✓     ✗       ✗     
rst                 ✗            ✓     ✗       ✗     
ruby                ✗            ✓     ✗       ✗     
rust                ✗            ✓     ✗       ✗     
scala               ✗            ✓     ✗       ✗     
scheme              ✗            ✓     ✗       ✗     
scss                ✗            ✓     ✗       ✗     
slang               ✗            ✓     ✗       ✗     
slint               ✗            ✓     ✗       ✗     
smali               ✗            ✓     ✗       ✗     
smithy              ✗            ✓     ✗       ✗     
snakemake           ✗            ✓     ✗       ✗     
solidity            ✗            ✓     ✗       ✗     
soql                ✗            ✓     ✗       ✗     
sosl                ✗            ✓     ✗       ✗     
sparql              ✗            ✓     ✗       ✗     
sql                 ✗            ✓     ✗       ✗     
squirrel            ✗            ✓     ✗       ✗     
ssh_config          ✗            ✓     ✗       ✗     
starlark            ✗            ✓     ✗       ✗     
strace              ✗            ✓     ✗       ✗     
styled              ✗            ✗     ✗       ✗     
supercollider       ✗            ✓     ✗       ✗     
surface             ✗            ✓     ✗       ✗     
svelte              ✗            ✓     ✗       ✗     
sxhkdrc             ✗            ✓     ✗       ✗     
systemtap           ✗            ✓     ✗       ✗     
t32                 ✗            ✓     ✗       ✗     
tablegen            ✗            ✓     ✗       ✗     
templ               ✗            ✓     ✗       ✗     
terraform           ✗            ✓     ✗       ✗     
textproto           ✗            ✓     ✗       ✗     
thrift              ✗            ✓     ✗       ✗     
tiger               ✗            ✓     ✗       ✗     
tlaplus             ✗            ✓     ✗       ✗     
todotxt             ✗            ✓     ✗       ✗     
toml                ✗            ✓     ✗       ✗     
tsv                 ✗            ✓     ✗       ✗     
tsx                 ✗            ✓     ✗       ✗     
turtle              ✗            ✓     ✗       ✗     
twig                ✗            ✓     ✗       ✗     
typescript          ✗            ✓     ✗       ✗     
typoscript          ✗            ✓     ✗       ✗     
udev                ✗            ✓     ✗       ✗     
ungrammar           ✗            ✓     ✗       ✗     
usd                 ✗            ✓     ✗       ✗     
uxntal              ✗            ✓     ✗       ✗     
v                   ✗            ✓     ✗       ✗     
vala                ✗            ✓     ✗       ✗     
verilog             ✗            ✓     ✗       ✗     
vhs                 ✗            ✓     ✗       ✗     
vim                 ✗            ✓     ✗       ✗     
vimdoc              ✗            ✓     ✗       ✗     
vue                 ✗            ✓     ✗       ✗     
wgsl                ✗            ✓     ✗       ✗     
wgsl_bevy           ✗            ✓     ✗       ✗     
xcompose            ✗            ✓     ✗       ✗     
xml                 ✗            ✓     ✗       ✗     
yaml                ✗            ✓     ✗       ✗     
yang                ✗            ✓     ✗       ✗     
yuck                ✗            ✓     ✗       ✗     
zathurarc           ✗            ✗     ✗       ✗     
zig                 ✗            ✓     ✗       ✗     

@marilari88
Copy link
Owner

Can you go to 'test' word with the cursor and launch :Inspect ? you should see something like:
image

@davidarias
Copy link
Author

Sure, this is the output:

Screenshot from 2024-01-31 15-51-15

@marilari88
Copy link
Owner

this is so weird. What's your nvim version?

@davidarias
Copy link
Author

davidarias commented Jan 31, 2024

Yes, it is in fact strange. I'm using nvim 0.9.4. with LazyVim (https://www.lazyvim.org/) and I think my teammate @quiqueporta is using 0.9.5 and have the same problem

@marilari88
Copy link
Owner

Hey @davidarias, I installed Lazyvim and I got the same error. I solved with this: nvim-neotest/neotest#303 (comment).

Try to put treesitter into your dependencies list. Let me know if you solve too

@davidarias
Copy link
Author

Yes, that worked @marilari88! Thank you so much for helping us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants