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

Inconsistent behaviour when cursor is in comment line #247

Open
andy941 opened this issue Oct 12, 2024 · 58 comments
Open

Inconsistent behaviour when cursor is in comment line #247

andy941 opened this issue Oct 12, 2024 · 58 comments

Comments

@andy941
Copy link

andy941 commented Oct 12, 2024

When the cursor is in a comment in a code chunk (Quarto) some keybindings do not work:

  • RSendChunk fails with Not inside an R code chunk
  • RPreviousRChunk does nothing. Weirdly enough, if there are more than one comment line in the chunk it does nothing if I am on the first comment line, if I am in any other comment line it will bring me to the first one.

Both commands work perfectly well in the non-comment lines in the chunk for both Python and R chunks.

One other thing to note is that instead RNextRChunk works in comment lines too which makes it all even more confusing.

TO be clear this affects all the times when the cursor is in any comment line not only |#.

Could it be a bug?

image

@andy941 andy941 changed the title Inconsistent behaviour when cursor is in Quarto comment line Inconsistent behaviour when cursor is in comment line Oct 12, 2024
@jalvesaq
Copy link
Member

Thanks for reporting the bug! I will see this later.

@PMassicotte
Copy link
Collaborator

Interestingly, cc does not work, but cd does.

@jalvesaq
Copy link
Member

I can't replicate the bug. Everything works as expected on my side.

@jalvesaq
Copy link
Member

Maybe you could disable some plugins to see if they interfere with R.nvim. I have headlines.nvim installed, but I don't get the R and Python symbols at the right top of code blocks.

@andy941
Copy link
Author

andy941 commented Oct 23, 2024

Maybe you could disable some plugins to see if they interfere with R.nvim. I have headlines.nvim installed, but I don't get the R and Python symbols at the right top of code blocks.

This is a different plugin called markview.nvim, it's IMHO even better looking and more plug and play. But you are right, when I get the chance I'll test with a minimal config. Do you already have one ready?

@jalvesaq
Copy link
Member

You can find examples of minimal config at https://github.com/R-nvim/R.nvim/blob/main/README.md and https://github.com/R-nvim/R.nvim/wiki/Configuration

@jalvesaq
Copy link
Member

I replaced headlines.nvim with markview.nvim and I agree that it looks better. Thanks!

By the way, I still can't replicate the bug.

@andy941
Copy link
Author

andy941 commented Oct 23, 2024

Noted. I will let you know if the minimal config works later this week.

@andy941
Copy link
Author

andy941 commented Oct 24, 2024

I can confirm I have the same issue with the minimal config you provided (nvim --clean -u minimal.lua example.qmd).

Same problems as above when \cc and \cN.

Example.qmd


---
format:
    html:
        useMath: true
        standalone: true
        embed-resources: true
        self-contained: true
        self-contained-math: true
    # pdf:
    #     documentclass: article
    #     toc: false
    #     number-sections: true
    #     colorlinks: true
    #     #cite-method: biblatex
    #     header-includes:
    #       - |
    #         ```{=latex}
    #         \usepackage{fvextra}
    #         \DefineVerbatimEnvironment{Highlighting}{Verbatim}{
    #           breaksymbolleft={},
    #           showspaces = false,
    #           showtabs = false,
    #           breaklines,
    #           commandchars=\\\{\}
    #         }
    #         ```
    # gfm:
    #     output-file: "README"
    #     output-ext:  "md"
    #     fig-dpi: 300
title: ""
author: "Andrea Finocchio"
#bibliography: cite.bib
citeproc: true
link-citations: true
code-fold: true
fig-dpi: 300
engine: knitr
highlight-style: gruvbox
cache: false
code-overflow: wrap
---


```{r}
#| lst-label: lst-imports-and-functions-r
#| lst-cap: lst-imports-and-functions-r
#| code-summary: "Imports and Functions - R"
#| output: false
#| code-fold: true

library(tidyverse)
library(reticulate)
library(ggthemes)
library(ggpubr)
library(kableExtra)
#library(EnvStats)
```


@lst-imports-and-functions-r

```{python}
#| label: imports-and-functions-python
#| code-summary: "Imports and Functions - Python"
#| output: false

import pysam
import pandas as pd
import matplotlib.pyplot as plt
import os
import json
from IPython.core.display import Markdown
from tabulate import tabulate
#import pybedtools
```

@jalvesaq
Copy link
Member

I can't replicate the bug with the same command, nvim --clean -u minimal.lua example.qmd, where minimal.lua is the minimal config from the wiki and example.qmd is the code you posted. I'm using Neovim v0.11.0-dev-1032+g230b0c7f02 (compiled yesterday) on Debian Testing (Linux).

@jalvesaq
Copy link
Member

Could you delete the nvim-treesitter directory to force the regeneration of all parsers?

Since I can't replicate the bug, we have to wait until someone can fix it and make a pull request.

@andy941
Copy link
Author

andy941 commented Oct 26, 2024

I have tried regenerating all parsers but that did not solve the issues (with minimal.lua config as well). This is even more minimalistic example if that helps:

---
title: ""
---

```{r}
#| label: imports-and-functions-r

library(tidyverse)
```
```{r}
#| label: imports-and-functions-r

library(tidyverse)
```
```{python}
#| label: imports-and-functions-python

import pandas as pd
```

starting from the top: \gn twice to get to the first line of the second block #| label: imports-and-functions-r, then try to get back one block with \gN, nothing happens. If you get to the code line in the same block, \gN goes back one block as expected. Also \cc does not work in code blocks when on any comment line with the error: Not inside an T code chunk.

Sorry I can be of more help, @PMassicotte seem to have similar issues as me?

Interestingly, cc does not work, but cd does.

@PMassicotte
Copy link
Collaborator

I will check that on my side when I am back to the office on Monday.

@PMassicotte
Copy link
Collaborator

This works fine on my side.

This here my code file

---
format:
  html:
    useMath: true
    standalone: true
    embed-resources: true
    self-contained: true
    self-contained-math: true
  # pdf:
  #     documentclass: article
  #     toc: false
  #     number-sections: true
  #     colorlinks: true
  #     #cite-method: biblatex
  #     header-includes:
  #       - |
  #         ```{=latex}
  #         \usepackage{fvextra}
  #         \DefineVerbatimEnvironment{Highlighting}{Verbatim}{
  #           breaksymbolleft={},
  #           showspaces = false,
  #           showtabs = false,
  #           breaklines,
  #           commandchars=\\\{\}
  #         }
  #         ```
  # gfm:
  #     output-file: "README"
  #     output-ext:  "md"
  #     fig-dpi: 300
title: ""
author: "Andrea Finocchio"
#bibliography: cite.bib
citeproc: true
link-citations: true
code-fold: true
fig-dpi: 300
engine: knitr
highlight-style: gruvbox
cache: false
code-overflow: wrap
---

```{r}
#| lst-label: lst-imports-and-functions-r
#| lst-cap: lst-imports-and-functions-r
#| code-summary: "Imports and Functions - R"
#| output: false
#| code-fold: true

library(tidyverse)
library(reticulate)
library(ggthemes)
library(ggpubr)
library(kableExtra)
# library(EnvStats)
# | label: imports-and-functions-python
# | code-summary: "Imports and Functions - Python"
# | output: false

import pysam
import pandas as pd
import matplotlib.pyplot as plt
import os
import json
from IPython.core.display import Markdown
from tabulate import tabulate

# import pybedtools

With me using send lines:

Peek 2024-10-28 09-56

@andy941
Copy link
Author

andy941 commented Nov 3, 2024

I am a bit out of ideas, are there any debug logs I can look at and share? If it helps I am on version 0.10.1.

@jalvesaq
Copy link
Member

jalvesaq commented Nov 3, 2024

This is a tree-sitter problem, perhaps a mismatch between the parser you are using and the one we use. I have two Neovim versions in my notebook: 0.9.5 (Debian package) and 0.11.0-dev (compiled from source) and I can't replicate the bug in any of them.

@andy941
Copy link
Author

andy941 commented Nov 3, 2024

Is there a way I can check and report back that info? Or try your version?

@jalvesaq
Copy link
Member

jalvesaq commented Nov 3, 2024

You could try the minimal config from the Wiki (https://github.com/R-nvim/R.nvim/wiki/Configuration):. Save it as min_config_init.lua or any name that you want and do:

nvim --clean -u min_config_init.lua

@andy941
Copy link
Author

andy941 commented Nov 3, 2024

I can confirm I have the same issue with the minimal config you provided (nvim --clean -u minimal.lua example.qmd).

Same problems as above when \cc and \cN.

Example.qmd


---
format:
    html:
        useMath: true
        standalone: true
        embed-resources: true
        self-contained: true
        self-contained-math: true
    # pdf:
    #     documentclass: article
    #     toc: false
    #     number-sections: true
    #     colorlinks: true
    #     #cite-method: biblatex
    #     header-includes:
    #       - |
    #         ```{=latex}
    #         \usepackage{fvextra}
    #         \DefineVerbatimEnvironment{Highlighting}{Verbatim}{
    #           breaksymbolleft={},
    #           showspaces = false,
    #           showtabs = false,
    #           breaklines,
    #           commandchars=\\\{\}
    #         }
    #         ```
    # gfm:
    #     output-file: "README"
    #     output-ext:  "md"
    #     fig-dpi: 300
title: ""
author: "Andrea Finocchio"
#bibliography: cite.bib
citeproc: true
link-citations: true
code-fold: true
fig-dpi: 300
engine: knitr
highlight-style: gruvbox
cache: false
code-overflow: wrap
---


```{r}
#| lst-label: lst-imports-and-functions-r
#| lst-cap: lst-imports-and-functions-r
#| code-summary: "Imports and Functions - R"
#| output: false
#| code-fold: true

library(tidyverse)
library(reticulate)
library(ggthemes)
library(ggpubr)
library(kableExtra)
#library(EnvStats)

@lst-imports-and-functions-r

#| label: imports-and-functions-python
#| code-summary: "Imports and Functions - Python"
#| output: false

import pysam
import pandas as pd
import matplotlib.pyplot as plt
import os
import json
from IPython.core.display import Markdown
from tabulate import tabulate
#import pybedtools

I have done that already but no luck. minimal.lua was the config from the wiki.

@jalvesaq
Copy link
Member

jalvesaq commented Nov 3, 2024

I'm sorry, I repeated myself. I have no new idea, only what has already been said:

  • Be sure to use the main branch of R.nvim (not a tagged commit).
  • Delete the nvim-treesitter to ensure all parsers are updated.
  • Try the minimal config to ensure the problem isn't somewhere in your config.
  • If possible, update Neovim.
  • If possible, try on a different machine, preferably in a different operating system.

@PMassicotte
Copy link
Collaborator

@andy941 do you still experience this problem?

@andy941
Copy link
Author

andy941 commented Nov 12, 2024

@PMassicotte hi, yes I do. Both Linux and macos, both with my config and the minimal one. Tried deleting and reinstalling all tresitter parsers too.

My terminal is kitty.

I am just a bit out of ideas about what to try! I am happy to do more debugging.

@PMassicotte
Copy link
Collaborator

@andy941 can you have a look at the debugging steps proposed by @jalvesaq here: #221

@jalvesaq
Copy link
Member

@Spacecortez fixed a tree-sitter-related bug by forcing the update of R.nvim: #221 (comment)

@andy941
Copy link
Author

andy941 commented Nov 14, 2024

Hi @jalvesaq @PMassicotte, I'll try again this weekend and let you know, thank you.

@andy941
Copy link
Author

andy941 commented Nov 16, 2024

Update: I tried all the suggestions in the thread linked:

  • changing the config to the latest format did not solve the issue. I don't thik the problem is not related to the keybindings since it happens even when entering the commands on the command line.
  • I tried to delete and reinstall all treesitter parsers again but, same as before, no difference.

The problem seem to be on comment lines, which break the "detection" of the code block (chunk).

@PMassicotte
Copy link
Collaborator

I am a bit confused. I do not know how to tackle this since I can not replicate the issue.

Can you report the results of :checkhealth nvim-treesitter?

@andy941
Copy link
Author

andy941 commented Nov 16, 2024

Sure:


==============================================================================
vim.treesitter: require("vim.treesitter.health").check()

- Nvim runtime ABI version: 14
- OK Parser: ada                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ada.so
- OK Parser: agda                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/agda.so
- OK Parser: angular              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/angular.so
- OK Parser: apex                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/apex.so
- OK Parser: arduino              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/arduino.so
- OK Parser: asm                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/asm.so
- OK Parser: astro                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/astro.so
- OK Parser: authzed              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/authzed.so
- OK Parser: awk                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/awk.so
- OK Parser: bash                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bash.so
- OK Parser: bass                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bass.so
- OK Parser: beancount            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/beancount.so
- OK Parser: bibtex               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bibtex.so
- OK Parser: bicep                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bicep.so
- OK Parser: bitbake              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bitbake.so
- OK Parser: blueprint            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/blueprint.so
- OK Parser: bp                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/bp.so
- OK Parser: c                    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/c.so
- OK Parser: c_sharp              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/c_sharp.so
- OK Parser: cairo                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cairo.so
- OK Parser: capnp                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/capnp.so
- OK Parser: chatito              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/chatito.so
- OK Parser: clojure              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/clojure.so
- OK Parser: cmake                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cmake.so
- OK Parser: comment              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/comment.so
- OK Parser: commonlisp           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/commonlisp.so
- OK Parser: cooklang             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cooklang.so
- OK Parser: corn                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/corn.so
- OK Parser: cpon                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cpon.so
- OK Parser: cpp                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cpp.so
- OK Parser: css                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/css.so
- OK Parser: csv                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/csv.so
- OK Parser: cuda                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cuda.so
- OK Parser: cue                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cue.so
- OK Parser: cylc                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/cylc.so
- OK Parser: d                    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/d.so
- OK Parser: dart                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/dart.so
- OK Parser: desktop              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/desktop.so
- OK Parser: devicetree           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/devicetree.so
- OK Parser: dhall                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/dhall.so
- OK Parser: diff                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/diff.so
- OK Parser: disassembly          ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/disassembly.so
- OK Parser: djot                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/djot.so
- OK Parser: dockerfile           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/dockerfile.so
- OK Parser: dot                  ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/dot.so
- OK Parser: doxygen              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/doxygen.so
- OK Parser: dtd                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/dtd.so
- OK Parser: earthfile            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/earthfile.so
- OK Parser: ebnf                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ebnf.so
- OK Parser: editorconfig         ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/editorconfig.so
- OK Parser: eds                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/eds.so
- OK Parser: eex                  ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/eex.so
- OK Parser: elixir               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/elixir.so
- OK Parser: elm                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/elm.so
- OK Parser: elsa                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/elsa.so
- OK Parser: elvish               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/elvish.so
- OK Parser: embedded_template    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/embedded_template.so
- OK Parser: erlang               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/erlang.so
- OK Parser: facility             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/facility.so
- OK Parser: faust                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/faust.so
- OK Parser: fennel               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fennel.so
- OK Parser: fidl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fidl.so
- OK Parser: firrtl               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/firrtl.so
- OK Parser: fish                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fish.so
- OK Parser: foam                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/foam.so
- OK Parser: forth                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/forth.so
- OK Parser: fortran              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fortran.so
- OK Parser: fsh                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fsh.so
- OK Parser: fsharp               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fsharp.so
- OK Parser: func                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/func.so
- OK Parser: fusion               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/fusion.so
- OK Parser: gap                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gap.so
- OK Parser: gaptst               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gaptst.so
- OK Parser: gdscript             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gdscript.so
- OK Parser: gdshader             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gdshader.so
- OK Parser: git_config           ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/git_config.so
- OK Parser: git_rebase           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/git_rebase.so
- OK Parser: gitattributes        ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gitattributes.so
- OK Parser: gitcommit            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gitcommit.so
- OK Parser: gitignore            ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gitignore.so
- OK Parser: gleam                ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gleam.so
- OK Parser: glimmer              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/glimmer.so
- ERROR Parser "glimmer_javascript" failed to load (path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/glimmer_javascript.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
- OK Parser: glimmer_typescript   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/glimmer_typescript.so
- OK Parser: glsl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/glsl.so
- OK Parser: gn                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gn.so
- OK Parser: gnuplot              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gnuplot.so
- OK Parser: go                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/go.so
- OK Parser: goctl                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/goctl.so
- OK Parser: godot_resource       ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/godot_resource.so
- OK Parser: gomod                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gomod.so
- OK Parser: gosum                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gosum.so
- OK Parser: gotmpl               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gotmpl.so
- OK Parser: gowork               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gowork.so
- OK Parser: gpg                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gpg.so
- OK Parser: graphql              ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/graphql.so
- OK Parser: gren                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gren.so
- OK Parser: groovy               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/groovy.so
- OK Parser: gstlaunch            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/gstlaunch.so
- OK Parser: hack                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hack.so
- OK Parser: hare                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hare.so
- OK Parser: haskell              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/haskell.so
- OK Parser: haskell_persistent   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/haskell_persistent.so
- OK Parser: hcl                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hcl.so
- OK Parser: heex                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/heex.so
- OK Parser: helm                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/helm.so
- OK Parser: hjson                ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hjson.so
- OK Parser: hlsl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hlsl.so
- OK Parser: hlsplaylist          ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hlsplaylist.so
- OK Parser: hocon                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hocon.so
- OK Parser: hoon                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hoon.so
- OK Parser: html                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/html.so
- OK Parser: htmldjango           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/htmldjango.so
- OK Parser: http                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/http.so
- OK Parser: hurl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hurl.so
- OK Parser: hyprlang             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/hyprlang.so
- OK Parser: idl                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/idl.so
- OK Parser: ini                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ini.so
- OK Parser: inko                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/inko.so
- OK Parser: ispc                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ispc.so
- OK Parser: janet_simple         ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/janet_simple.so
- OK Parser: java                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/java.so
- OK Parser: javascript           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/javascript.so
- OK Parser: jq                   ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/jq.so
- OK Parser: jsdoc                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/jsdoc.so
- OK Parser: json                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/json.so
- OK Parser: json5                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/json5.so
- OK Parser: jsonc                ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/jsonc.so
- OK Parser: jsonnet              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/jsonnet.so
- OK Parser: julia                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/julia.so
- OK Parser: just                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/just.so
- OK Parser: kconfig              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/kconfig.so
- OK Parser: kdl                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/kdl.so
- OK Parser: kotlin               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/kotlin.so
- OK Parser: koto                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/koto.so
- OK Parser: kusto                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/kusto.so
- OK Parser: lalrpop              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/lalrpop.so
- OK Parser: ledger               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ledger.so
- OK Parser: leo                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/leo.so
- OK Parser: linkerscript         ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/linkerscript.so
- OK Parser: liquid               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/liquid.so
- OK Parser: liquidsoap           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/liquidsoap.so
- OK Parser: llvm                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/llvm.so
- OK Parser: lua                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/lua.so
- OK Parser: luadoc               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/luadoc.so
- OK Parser: luap                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/luap.so
- OK Parser: luau                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/luau.so
- OK Parser: m68k                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/m68k.so
- OK Parser: make                 ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/make.so
- OK Parser: markdown             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/markdown.so
- OK Parser: markdown_inline      ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/markdown_inline.so
- OK Parser: matlab               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/matlab.so
- OK Parser: menhir               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/menhir.so
- OK Parser: mermaid              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/mermaid.so
- OK Parser: meson                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/meson.so
- OK Parser: muttrc               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/muttrc.so
- OK Parser: nasm                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nasm.so
- OK Parser: nginx                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nginx.so
- OK Parser: nickel               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nickel.so
- OK Parser: nim                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nim.so
- OK Parser: nim_format_string    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nim_format_string.so
- OK Parser: ninja                ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ninja.so
- OK Parser: nix                  ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nix.so
- OK Parser: norg                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/norg.so
- OK Parser: nqc                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nqc.so
- OK Parser: nu                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/nu.so
- OK Parser: objc                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/objc.so
- OK Parser: objdump              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/objdump.so
- OK Parser: ocaml                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ocaml.so
- OK Parser: ocaml_interface      ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ocaml_interface.so
- OK Parser: odin                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/odin.so
- OK Parser: org                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/org.so
- OK Parser: pascal               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pascal.so
- OK Parser: passwd               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/passwd.so
- OK Parser: pem                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pem.so
- OK Parser: perl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/perl.so
- OK Parser: php                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/php.so
- OK Parser: php_only             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/php_only.so
- OK Parser: pioasm               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pioasm.so
- OK Parser: po                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/po.so
- OK Parser: pod                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pod.so
- OK Parser: poe_filter           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/poe_filter.so
- OK Parser: pony                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pony.so
- OK Parser: powershell           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/powershell.so
- OK Parser: printf               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/printf.so
- OK Parser: prisma               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/prisma.so
- OK Parser: problog              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/problog.so
- OK Parser: prolog               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/prolog.so
- OK Parser: promql               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/promql.so
- OK Parser: properties           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/properties.so
- OK Parser: proto                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/proto.so
- OK Parser: prql                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/prql.so
- OK Parser: psv                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/psv.so
- OK Parser: pug                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pug.so
- OK Parser: puppet               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/puppet.so
- OK Parser: purescript           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/purescript.so
- OK Parser: pymanifest           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/pymanifest.so
- OK Parser: python               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/python.so
- OK Parser: ql                   ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ql.so
- OK Parser: qmldir               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/qmldir.so
- OK Parser: qmljs                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/qmljs.so
- OK Parser: query                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/query.so
- OK Parser: r                    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/r.so
- OK Parser: racket               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/racket.so
- OK Parser: ralph                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ralph.so
- OK Parser: rasi                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rasi.so
- OK Parser: rbs                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rbs.so
- OK Parser: re2c                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/re2c.so
- OK Parser: readline             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/readline.so
- OK Parser: regex                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/regex.so
- ERROR Parser "rego" failed to load (path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rego.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'rego': uv_dlopen: no error
- OK Parser: requirements         ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/requirements.so
- OK Parser: rescript             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rescript.so
- OK Parser: rnoweb               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rnoweb.so
- OK Parser: robot                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/robot.so
- OK Parser: robots               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/robots.so
- OK Parser: roc                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/roc.so
- OK Parser: ron                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ron.so
- OK Parser: rst                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rst.so
- OK Parser: ruby                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ruby.so
- OK Parser: runescript           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/runescript.so
- OK Parser: rust                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/rust.so
- OK Parser: scala                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/scala.so
- OK Parser: scheme               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/scheme.so
- OK Parser: scss                 ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/scss.so
- OK Parser: sflog                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sflog.so
- OK Parser: slang                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/slang.so
- OK Parser: slint                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/slint.so
- OK Parser: smali                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/smali.so
- OK Parser: smithy               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/smithy.so
- OK Parser: snakemake            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/snakemake.so
- OK Parser: solidity             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/solidity.so
- OK Parser: soql                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/soql.so
- OK Parser: sosl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sosl.so
- OK Parser: sourcepawn           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sourcepawn.so
- OK Parser: sparql               ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sparql.so
- OK Parser: sql                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sql.so
- OK Parser: squirrel             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/squirrel.so
- OK Parser: ssh_config           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ssh_config.so
- OK Parser: starlark             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/starlark.so
- OK Parser: strace               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/strace.so
- OK Parser: styled               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/styled.so
- OK Parser: supercollider        ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/supercollider.so
- OK Parser: superhtml            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/superhtml.so
- OK Parser: surface              ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/surface.so
- OK Parser: svelte               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/svelte.so
- OK Parser: sway                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sway.so
- OK Parser: sxhkdrc              ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/sxhkdrc.so
- OK Parser: systemtap            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/systemtap.so
- OK Parser: t32                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/t32.so
- OK Parser: tablegen             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tablegen.so
- OK Parser: tact                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tact.so
- OK Parser: tcl                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tcl.so
- OK Parser: templ                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/templ.so
- OK Parser: terraform            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/terraform.so
- OK Parser: textproto            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/textproto.so
- OK Parser: thrift               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/thrift.so
- OK Parser: tiger                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tiger.so
- OK Parser: tlaplus              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tlaplus.so
- OK Parser: tmux                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tmux.so
- OK Parser: todotxt              ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/todotxt.so
- OK Parser: toml                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/toml.so
- OK Parser: tsv                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tsv.so
- OK Parser: tsx                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/tsx.so
- OK Parser: turtle               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/turtle.so
- OK Parser: twig                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/twig.so
- OK Parser: typescript           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/typescript.so
- OK Parser: typespec             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/typespec.so
- OK Parser: typoscript           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/typoscript.so
- OK Parser: typst                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/typst.so
- OK Parser: udev                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/udev.so
- OK Parser: ungrammar            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ungrammar.so
- OK Parser: usd                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/usd.so
- OK Parser: uxntal               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/uxntal.so
- OK Parser: v                    ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/v.so
- OK Parser: vala                 ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vala.so
- OK Parser: vento                ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vento.so
- OK Parser: verilog              ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/verilog.so
- OK Parser: vhdl                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vhdl.so
- OK Parser: vhs                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vhs.so
- OK Parser: vim                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vim.so
- OK Parser: vimdoc               ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vimdoc.so
- OK Parser: vrl                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vrl.so
- OK Parser: vue                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/vue.so
- OK Parser: wgsl                 ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/wgsl.so
- OK Parser: wgsl_bevy            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/wgsl_bevy.so
- OK Parser: wing                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/wing.so
- OK Parser: wit                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/wit.so
- OK Parser: xcompose             ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/xcompose.so
- OK Parser: xml                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/xml.so
- OK Parser: xresources           ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/xresources.so
- OK Parser: yaml                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/yaml.so
- OK Parser: yang                 ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/yang.so
- OK Parser: yuck                 ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/yuck.so
- OK Parser: zathurarc            ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/zathurarc.so
- OK Parser: zig                  ABI: 14, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/zig.so
- OK Parser: ziggy                ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ziggy.so
- OK Parser: ziggy_schema         ABI: 13, path: /home/andrea/.local/share/nvim/lazy/nvim-treesitter/parser/ziggy_schema.so
- OK Parser: bash                 ABI: 14, path: /usr/share/nvim/runtime/parser/bash.so
- OK Parser: c                    ABI: 14, path: /usr/share/nvim/runtime/parser/c.so
- OK Parser: lua                  ABI: 14, path: /usr/share/nvim/runtime/parser/lua.so
- OK Parser: markdown             ABI: 14, path: /usr/share/nvim/runtime/parser/markdown.so
- OK Parser: markdown_inline      ABI: 14, path: /usr/share/nvim/runtime/parser/markdown_inline.so
- OK Parser: python               ABI: 14, path: /usr/share/nvim/runtime/parser/python.so
- OK Parser: query                ABI: 14, path: /usr/share/nvim/runtime/parser/query.so
- OK Parser: vim                  ABI: 14, path: /usr/share/nvim/runtime/parser/vim.so
- OK Parser: vimdoc               ABI: 14, path: /usr/share/nvim/runtime/parser/vimdoc.so

@PMassicotte
Copy link
Collaborator

You pasted the output of checkhealth vim.treesitter not nvim-treesitter :)

@andy941
Copy link
Author

andy941 commented Nov 16, 2024

OOOPS sorry!


==============================================================================
nvim-treesitter: require("nvim-treesitter.health").check()

Installation ~
- WARNING `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
- OK `node` found v18.20.4 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (GCC) 14.2.1 20240910
- OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
  machine = "x86_64",
  release = "6.10.13-3-MANJARO",
  sysname = "Linux",
  version = "#1 SMP PREEMPT_DYNAMIC Tue Oct  8 03:24:49 UTC 2024"
} ~

Parser/Features         H L F I J
  - ada                 ✓ ✓ ✓ . ✓
  - agda                ✓ . ✓ . ✓
  - angular             ✓ ✓ ✓ ✓ ✓
  - apex                ✓ ✓ ✓ . ✓
  - arduino             ✓ ✓ ✓ ✓ ✓
  - asm                 ✓ . . . ✓
  - astro               ✓ ✓ ✓ ✓ ✓
  - authzed             ✓ . . . ✓
  - awk                 ✓ . . . ✓
  - bash                ✓ ✓ ✓ . ✓
  - bass                ✓ ✓ ✓ ✓ ✓
  - beancount           ✓ . ✓ . ✓
  - bibtex              ✓ . ✓ ✓ ✓
  - bicep               ✓ ✓ ✓ ✓ ✓
  - bitbake             ✓ ✓ ✓ ✓ ✓
  - blueprint           ✓ . . . ✓
  - bp                  ✓ ✓ ✓ ✓ ✓
  - c                   ✓ ✓ ✓ ✓ ✓
  - c_sharp             ✓ ✓ ✓ . ✓
  - cairo               ✓ ✓ ✓ ✓ ✓
  - capnp               ✓ ✓ ✓ ✓ ✓
  - chatito             ✓ ✓ ✓ ✓ ✓
  - clojure             ✓ ✓ ✓ . ✓
  - cmake               ✓ . ✓ ✓ ✓
  - comment             ✓ . . . .
  - commonlisp          ✓ ✓ ✓ . ✓
  - cooklang            ✓ . . . ✓
  - corn                ✓ ✓ ✓ ✓ ✓
  - cpon                ✓ ✓ ✓ ✓ ✓
  - cpp                 ✓ ✓ ✓ ✓ ✓
  - css                 ✓ . ✓ ✓ ✓
  - csv                 ✓ . . . .
  - cuda                ✓ ✓ ✓ ✓ ✓
  - cue                 ✓ ✓ ✓ ✓ ✓
  - cylc                ✓ . ✓ ✓ ✓
  - d                   ✓ ✓ ✓ ✓ ✓
  - dart                ✓ ✓ ✓ ✓ ✓
  - desktop             ✓ . ✓ . ✓
  - devicetree          ✓ ✓ ✓ ✓ ✓
  - dhall               ✓ . ✓ . ✓
  - diff                ✓ . ✓ . ✓
  - disassembly         ✓ . . . ✓
  - djot                ✓ ✓ ✓ ✓ ✓
  - dockerfile          ✓ . . . ✓
  - dot                 ✓ . . ✓ ✓
  - doxygen             ✓ . . ✓ ✓
  - dtd                 ✓ ✓ ✓ . ✓
  - earthfile           ✓ . . . ✓
  - ebnf                ✓ . . . ✓
  - editorconfig        ✓ . ✓ . ✓
  - eds                 ✓ . ✓ . .
  - eex                 ✓ . . . ✓
  - elixir              ✓ ✓ ✓ ✓ ✓
  - elm                 ✓ . ✓ . ✓
  - elsa                ✓ ✓ ✓ ✓ ✓
  - elvish              ✓ . . . ✓
  - embedded_template   ✓ . . . ✓
  - erlang              ✓ . ✓ . ✓
  - facility            ✓ . ✓ ✓ ✓
  - faust               ✓ . . . ✓
  - fennel              ✓ ✓ ✓ . ✓
  - fidl                ✓ . ✓ . ✓
  - firrtl              ✓ ✓ ✓ ✓ ✓
  - fish                ✓ ✓ ✓ ✓ ✓
  - foam                ✓ ✓ ✓ ✓ ✓
  - forth               ✓ ✓ ✓ ✓ ✓
  - fortran             ✓ . ✓ ✓ ✓
  - fsh                 ✓ . . . ✓
  - fsharp              ✓ . . . ✓
  - func                ✓ . . . ✓
  - fusion              ✓ ✓ ✓ ✓ ✓
  - gap                 ✓ ✓ ✓ . ✓
  - gaptst              ✓ . ✓ . ✓
  - gdscript            ✓ ✓ ✓ ✓ ✓
  - gdshader            ✓ . . . ✓
  - git_config          ✓ . ✓ . ✓
  - git_rebase          ✓ . . . ✓
  - gitattributes       ✓ ✓ . . ✓
  - gitcommit           ✓ . . . ✓
  - gitignore           ✓ . . . ✓
  - gleam               ✓ ✓ ✓ ✓ ✓
  - glimmer             ✓ ✓ ✓ ✓ ✓
  - glimmer_javascript  x x . x x
  - glimmer_typescript  ✓ . . ✓ ✓
  - glsl                ✓ ✓ ✓ ✓ ✓
  - gn                  ✓ ✓ ✓ ✓ ✓
  - gnuplot             ✓ . . . ✓
  - go                  ✓ ✓ ✓ ✓ ✓
  - goctl               ✓ . ✓ ✓ ✓
  - godot_resource      ✓ ✓ ✓ . ✓
  - gomod               ✓ . . . ✓
  - gosum               ✓ . . . .
  - gotmpl              ✓ ✓ ✓ . ✓
  - gowork              ✓ . . . ✓
  - gpg                 ✓ . . . ✓
  - graphql             ✓ . . ✓ ✓
  - gren                ✓ . . . ✓
  - groovy              ✓ ✓ ✓ ✓ ✓
  - gstlaunch           ✓ . . . .
  - hack                ✓ . . . ✓
  - hare                ✓ ✓ ✓ ✓ ✓
  - haskell             ✓ ✓ ✓ . ✓
  - haskell_persistent  ✓ . ✓ . .
  - hcl                 ✓ . ✓ ✓ ✓
  - heex                ✓ ✓ ✓ ✓ ✓
  - helm                ✓ ✓ ✓ . ✓
  - hjson               ✓ ✓ ✓ ✓ ✓
  - hlsl                ✓ ✓ ✓ ✓ ✓
  - hlsplaylist         ✓ . . . ✓
  - hocon               ✓ . ✓ . ✓
  - hoon                ✓ ✓ ✓ . ✓
  - html                ✓ ✓ ✓ ✓ ✓
  - htmldjango          ✓ . ✓ ✓ ✓
  - http                ✓ . . . ✓
  - hurl                ✓ . ✓ ✓ ✓
  - hyprlang            ✓ . ✓ ✓ ✓
  - idl                 ✓ . . ✓ ✓
  - ini                 ✓ . ✓ . ✓
  - inko                ✓ ✓ ✓ ✓ ✓
  - ispc                ✓ ✓ ✓ ✓ ✓
  - janet_simple        ✓ ✓ ✓ . ✓
  - java                ✓ ✓ ✓ ✓ ✓
  - javascript          ✓ ✓ ✓ ✓ ✓
  - jq                  ✓ ✓ . . ✓
  - jsdoc               ✓ . . . .
  - json                ✓ ✓ ✓ ✓ .
  - json5               ✓ . . . ✓
  - jsonc               ✓ ✓ ✓ ✓ ✓
  - jsonnet             ✓ ✓ ✓ . ✓
  - julia               ✓ ✓ ✓ ✓ ✓
  - just                ✓ ✓ ✓ ✓ ✓
  - kconfig             ✓ ✓ ✓ ✓ ✓
  - kdl                 ✓ ✓ ✓ ✓ ✓
  - kotlin              ✓ ✓ ✓ . ✓
  - koto                ✓ ✓ ✓ . ✓
  - kusto               ✓ . . . ✓
  - lalrpop             ✓ ✓ ✓ . ✓
  - ledger              ✓ . ✓ ✓ ✓
  - leo                 ✓ . . ✓ ✓
  - linkerscript        ✓ ✓ ✓ ✓ ✓
  - liquid              ✓ . . . ✓
  - liquidsoap          ✓ ✓ ✓ ✓ ✓
  - llvm                ✓ . . . ✓
  - lua                 ✓ ✓ ✓ ✓ ✓
  - luadoc              ✓ . . . .
  - luap                ✓ . . . .
  - luau                ✓ ✓ ✓ ✓ ✓
  - m68k                ✓ ✓ ✓ . ✓
  - make                ✓ . ✓ . ✓
  - markdown            ✓ . ✓ ✓ ✓
  - markdown_inline     ✓ . . . ✓
  - matlab              ✓ ✓ ✓ ✓ ✓
  - menhir              ✓ . . . ✓
  - mermaid             ✓ . ✓ ✓ ✓
  - meson               ✓ . ✓ ✓ ✓
  - muttrc              ✓ . . . ✓
  - nasm                ✓ . . . ✓
  - nginx               ✓ . ✓ . ✓
  - nickel              ✓ . . ✓ ✓
  - nim                 ✓ ✓ ✓ . ✓
  - nim_format_string   ✓ . . . ✓
  - ninja               ✓ . ✓ ✓ ✓
  - nix                 ✓ ✓ ✓ ✓ ✓
  - norg                . . . . .
  - nqc                 ✓ ✓ ✓ ✓ ✓
  - nu                  ✓ . . ✓ ✓
  - objc                ✓ ✓ ✓ ✓ ✓
  - objdump             ✓ . . . ✓
  - ocaml               ✓ ✓ ✓ ✓ ✓
  - ocaml_interface     ✓ ✓ ✓ ✓ ✓
  - odin                ✓ ✓ ✓ ✓ ✓
  - org                 . . . . .
  - pascal              ✓ ✓ ✓ ✓ ✓
  - passwd              ✓ . . . .
  - pem                 ✓ . ✓ . ✓
  - perl                ✓ . ✓ . ✓
  - php                 ✓ ✓ ✓ ✓ ✓
  - php_only            ✓ ✓ ✓ ✓ ✓
  - pioasm              ✓ . . . ✓
  - po                  ✓ . ✓ . ✓
  - pod                 ✓ . . . .
  - poe_filter          ✓ . ✓ ✓ ✓
  - pony                ✓ ✓ ✓ ✓ ✓
  - powershell          ✓ ✓ ✓ ✓ ✓
  - printf              ✓ . . . .
  - prisma              ✓ . ✓ . ✓
  - problog             ✓ . ✓ ✓ ✓
  - prolog              ✓ . ✓ ✓ ✓
  - promql              ✓ . . . ✓
  - properties          ✓ ✓ . . ✓
  - proto               ✓ . ✓ ✓ ✓
  - prql                ✓ . . . ✓
  - psv                 ✓ . . . .
  - pug                 ✓ . . . ✓
  - puppet              ✓ ✓ ✓ ✓ ✓
  - purescript          ✓ ✓ . . ✓
  - pymanifest          ✓ . . . ✓
  - python              ✓ ✓ ✓ ✓ ✓
  - ql                  ✓ ✓ ✓ ✓ ✓
  - qmldir              ✓ . . . ✓
  - qmljs               ✓ . ✓ . ✓
  - query               ✓ ✓ ✓ ✓ ✓
  - r                   ✓ ✓ . ✓ ✓
  - racket              ✓ . ✓ . ✓
  - ralph               ✓ . . . ✓
  - rasi                ✓ ✓ ✓ ✓ ✓
  - rbs                 ✓ . ✓ ✓ ✓
  - re2c                ✓ ✓ ✓ ✓ ✓
  - readline            ✓ . ✓ ✓ ✓
  - regex               ✓ . . . .
  - rego                x . . . x
  - requirements        ✓ . . . ✓
  - rescript            ✓ ✓ ✓ ✓ ✓
  - rnoweb              ✓ . ✓ . ✓
  - robot               ✓ . ✓ ✓ ✓
  - robots              ✓ . . . ✓
  - roc                 ✓ ✓ . . ✓
  - ron                 ✓ ✓ ✓ ✓ ✓
  - rst                 ✓ ✓ . . ✓
  - ruby                ✓ ✓ ✓ ✓ ✓
  - runescript          ✓ . . . ✓
  - rust                ✓ ✓ ✓ ✓ ✓
  - scala               ✓ ✓ ✓ . ✓
  - scheme              ✓ . ✓ . ✓
  - scss                ✓ . ✓ ✓ ✓
  - sflog               ✓ . . . .
  - slang               ✓ ✓ ✓ ✓ ✓
  - slint               ✓ ✓ ✓ ✓ ✓
  - smali               ✓ ✓ ✓ ✓ ✓
  - smithy              ✓ . . . ✓
  - snakemake           ✓ ✓ ✓ ✓ ✓
  - solidity            ✓ . ✓ . ✓
  - soql                ✓ . . . .
  - sosl                ✓ . . . .
  - sourcepawn          ✓ ✓ . . ✓
  - sparql              ✓ ✓ ✓ ✓ ✓
  - sql                 ✓ . . ✓ ✓
  - squirrel            ✓ ✓ ✓ ✓ ✓
  - ssh_config          ✓ ✓ ✓ ✓ ✓
  - starlark            ✓ ✓ ✓ ✓ ✓
  - strace              ✓ . . . ✓
  - styled              ✓ . ✓ ✓ ✓
  - supercollider       ✓ ✓ ✓ ✓ ✓
  - superhtml           ✓ . . . ✓
  - surface             ✓ . ✓ ✓ ✓
  - svelte              ✓ ✓ ✓ ✓ ✓
  - sway                ✓ ✓ ✓ ✓ ✓
  - sxhkdrc             ✓ . ✓ . ✓
  - systemtap           ✓ ✓ ✓ . ✓
  - t32                 ✓ ✓ ✓ ✓ ✓
  - tablegen            ✓ ✓ ✓ ✓ ✓
  - tact                ✓ ✓ ✓ ✓ ✓
  - tcl                 ✓ . ✓ ✓ ✓
  - templ               ✓ . ✓ . ✓
  - terraform           ✓ . ✓ ✓ ✓
  - textproto           ✓ . ✓ ✓ ✓
  - thrift              ✓ ✓ ✓ ✓ ✓
  - tiger               ✓ ✓ ✓ ✓ ✓
  - tlaplus             ✓ ✓ ✓ . ✓
  - tmux                ✓ . . . ✓
  - todotxt             ✓ . . . .
  - toml                ✓ ✓ ✓ ✓ ✓
  - tsv                 ✓ . . . .
  - tsx                 ✓ ✓ ✓ ✓ ✓
  - turtle              ✓ ✓ ✓ ✓ ✓
  - twig                ✓ . . . ✓
  - typescript          ✓ ✓ ✓ ✓ ✓
  - typespec            ✓ . . ✓ ✓
  - typoscript          ✓ . ✓ ✓ ✓
  - typst               ✓ . ✓ ✓ ✓
  - udev                ✓ ✓ . . ✓
  - ungrammar           ✓ ✓ ✓ ✓ ✓
  - usd                 ✓ ✓ ✓ ✓ ✓
  - uxntal              ✓ ✓ ✓ ✓ ✓
  - v                   ✓ ✓ ✓ ✓ ✓
  - vala                ✓ . ✓ . ✓
  - vento               ✓ . . . ✓
  - verilog             ✓ . ✓ . ✓
  - vhdl                ✓ . ✓ . ✓
  - vhs                 ✓ . . . ✓
  - vim                 ✓ ✓ ✓ . ✓
  - vimdoc              ✓ . . . ✓
  - vrl                 ✓ ✓ ✓ ✓ ✓
  - vue                 ✓ . ✓ ✓ ✓
  - wgsl                ✓ . ✓ ✓ ✓
  - wgsl_bevy           ✓ . ✓ ✓ .
  - wing                ✓ ✓ ✓ . ✓
  - wit                 ✓ . ✓ . ✓
  - xcompose            ✓ ✓ . . ✓
  - xml                 ✓ ✓ ✓ ✓ ✓
  - xresources          ✓ ✓ ✓ . ✓
  - yaml                ✓ ✓ ✓ ✓ ✓
  - yang                ✓ . ✓ ✓ ✓
  - yuck                ✓ ✓ ✓ ✓ ✓
  - zathurarc           ✓ . . . ✓
  - zig                 ✓ ✓ ✓ ✓ ✓
  - ziggy               ✓ . . ✓ .
  - ziggy_schema        ✓ . . ✓ .

  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} ~

The following errors have been detected: ~
- ERROR glimmer_javascript(highlights): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  glimmer_javascript(highlights) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/ecma/highlights.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/glimmer_javascript/highlights.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
- ERROR glimmer_javascript(locals): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  glimmer_javascript(locals) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/ecma/locals.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/glimmer_javascript/locals.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
- ERROR glimmer_javascript(indents): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  glimmer_javascript(indents) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/ecma/indents.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/glimmer_javascript/indents.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
- ERROR glimmer_javascript(injections): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  glimmer_javascript(injections) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/ecma/injections.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/glimmer_javascript/injections.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'glimmer_javascript': uv_dlopen: no error
- ERROR rego(highlights): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'rego': uv_dlopen: no error
  rego(highlights) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/rego/highlights.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'rego': uv_dlopen: no error
- ERROR rego(injections): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'rego': uv_dlopen: no error
  rego(injections) is concatenated from the following files:
  | [ERROR]:"/home/andrea/.local/share/nvim/lazy/nvim-treesitter/queries/rego/injections.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'rego': uv_dlopen: no error


@PMassicotte
Copy link
Collaborator

The only thing differing with me is

- WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)

Could you try to install ts cli (https://github.com/tree-sitter/tree-sitter/blob/master/cli/README.md). Thereafter check if checkhealth gives you

Installation ~
- OK `tree-sitter` found 0.24.4 (parser generator, only needed for :TSInstallFromGrammar)
- OK `node` found v18.19.1 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
- OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

@andy941
Copy link
Author

andy941 commented Nov 16, 2024

Did that, checkhealth shows no error anymore, force reinstalling of all parsers. The problem persists unfortunately.

@PMassicotte
Copy link
Collaborator

I am out of ideas, what about you @jalvesaq ?

@jalvesaq
Copy link
Member

Me too.

@andy941
Copy link
Author

andy941 commented Nov 19, 2024

Sorry if I can't be of more help guys ...

I'll keep on looking. What puzzles me is that it was not working even with the minimal config and reinstalled all treesitter parsers.

@PMassicotte
Copy link
Collaborator

We need to find the cause and the solution of this. Maybe we will have to use the poor man debugging/printing in the code to see what is going on at each step.

@jalvesaq
Copy link
Member

My only idea is to try again:

  • Make a backup of ~/.config/nvim and, then, delete the directories:
cd ~/.config
rm -rf nvim
cd ~/.local/share
rm -rf nvim
  • Save the Wiki's minimal config at ~/.local/nvim/init.lua
  • Start Neovim, run :checkhealth, and fix any reported issues.
  • Put in your ~/.Rprofile: options(nvimcom.verbose = 1). You should see "nvimcom 0.9.56 loaded" on R startup.
  • Run :messages and :RDebugInfo to see if there is anything that doesn't look normal.
  • Update Neovim to the last released version.

@andy941
Copy link
Author

andy941 commented Nov 24, 2024

I got a breakthrough although I am puzzled as of why: using ONLY the minimal config's treesitter parsers fixes the issue, regardless of wheter I use the minimal.lua or my own init.lua.
I am puzzled:

  • I tried already to uninstall all parsers and only use the minimal config ones already and it was not fixing it, but now it is. I can write that off as I must have done a step in the wrong order or all the updates I have made changed something.
  • How can a parser break parsing for another?

Any ideas? I feel we are getting close. Is there more targeted debugging I can do?

Thanks,
Andrea

@jalvesaq
Copy link
Member

Can you still see the bug?

If it disappeared, then it was something outdated in your config. It would be better to know precisely what was outdated, but it would be too complicated to downgrade everything and upgrade everything again one plugin at a time.

If the bug is back, then you could try adding your other parsers one at a time until you find which one is interfering with the markdown parser. I don't know how a parser could interfere with how another one works unless one language is injected into the other. The only debugging tool for tree-sitter that I know is the command :InspectTree.

@andy941
Copy link
Author

andy941 commented Nov 25, 2024

The bug reappears with all parsers installed which is ~300 so that would be impossible. I can try adding the ones that are needed first and see if I get lucky, I will do that when I have some time and report back.

Seems like language injection is precisely what should happen with code cells in a quarto/markdown document, maybe it's something like that then.

I'll let you know

@jalvesaq
Copy link
Member

Something similar to a binary search would still be slow, but perhaps tolerably slow: add 150 parsers. If the bug is triggered, remove everything and add 75...

@jalvesaq
Copy link
Member

@PMassicotte might have a better idea...

@PMassicotte
Copy link
Collaborator

I will come back with some suggestions soon, I am teaching tomorrow, taking too much of my time :)

@jalvesaq
Copy link
Member

jalvesaq commented Dec 5, 2024

Sometimes, a line isn't sent to R if there is HTML code somewhere above the R code chunk. I added the current language where the cursor is to the message that the cursor isn't in R or Python code:

-            inform("Not inside R or Python code chunk.")
+            inform("Not inside R or Python code chunk [within " .. lang .. "]")

Maybe the two bugs are related, but I couldn't find a simple example to reproduce this new bug.

@PMassicotte
Copy link
Collaborator

PMassicotte commented Dec 5, 2024

Maybe related to #221, i.e. wrong node selected across different versions of nvim.

@jalvesaq
Copy link
Member

jalvesaq commented Dec 7, 2024

Sometimes, a line isn't sent to R if there is HTML code somewhere above the R code chunk.

It was my fault. I have left some unclosed tags in manually written HTML code. There was an unclosed <tr> and an unclosed <span>. After closing them, I had to quit Neovim and start it again.

@PMassicotte
Copy link
Collaborator

Is it fixed now?

@jalvesaq
Copy link
Member

jalvesaq commented Dec 8, 2024

I could never replicate the bug reported here, but the HTML issue wasn't a bug. It was my mistake and is fixed.

@PMassicotte
Copy link
Collaborator

Got it.

@andy941 Could you try with an older version of nvim (see discussion #221).

@andy941
Copy link
Author

andy941 commented Dec 8, 2024

@PMassicotte sure, do you have a specific tag/version/commit I should try?

Sorry I dropped the ball on this, I am very swamped at work.

@PMassicotte
Copy link
Collaborator

neovim/neovim@3d1e6c5

@jalvesaq
Copy link
Member

@andy941, are you still experiencing the bug? Could you, please, try the branch "strange_fix"? I could never replicate this issue, but, since it's a strange bug, if we are lucky the "strange_fix" will fix it.

@andy941
Copy link
Author

andy941 commented Dec 27, 2024

@jalvesaq I won't be able to try anything before the 13th of January but I will do so when I can. Thanks for the help, I'll keep you posted.

@jalvesaq
Copy link
Member

@andy941, could you update R.nvim and try

:checkhealth r

?

R.nvim's checkhealth command now checks if embedded languages are correctly recognized in Quarto documents.

@andy941
Copy link
Author

andy941 commented Feb 16, 2025

@jalvesaq thanks! Here's the output:

Checking applications and plugins: ~
- ERROR Minimum Neovim version is `0.10.4`, found: 0.10.3
- OK C compiler (`gcc` or `clang`) found.
- OK `R-nvim/cmp-r` found.
- OK `nvim-treesitter/nvim-treesitter` found.

Checking tree-sitter parsers: ~
- OK `r`  found.
- OK `markdown`  found.
- OK `markdown_inline`  found.
- OK `rnoweb`  found.
- ERROR `latex` not found.
- OK `yaml`  found.

Checking language detection in a Quarto document: ~
- OK Correctly detected: `yaml`
- OK Correctly detected: `markdown`
- OK Correctly detected: `markdown_inline`
- OK Correctly detected: `chunk_header`
- OK Correctly detected: `r`
- OK Correctly detected: `chunk_end`

Checking language detection in an Rnoweb document: ~
- OK Correctly detected: `latex`
- OK Correctly detected: `chunk_header`
- OK Correctly detected: `r`
- OK Correctly detected: `chunk_end`

This is on Nixos 24.11, unstable channel, and nix develop environment (the one I use for data science projects). I'll try on my work Mac tomorrow too and kep you posted. I updated to latest before running checkhealth.

@andy941
Copy link
Author

andy941 commented Feb 16, 2025

What's weird is that I can't seem to be able to find latex parser to install, not even under tex.

@jalvesaq
Copy link
Member

It is strange that you can't install the latex parser, but we only need it in Rnoweb documents, and this should not be relevant to the issue you reported here. Interestingly, the languages in the Rnoweb document are correctly recognized.

@jalvesaq
Copy link
Member

I got the LaTeX parser problem. The solution was to use cargo to install tree-sitter-cli (the Debian package is outdated):

cargo install tree-sitter-cli

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