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
a few remarks on the debugging outputs #4053
Comments
So you would like to have something like
Yes, we really need the OS info since we often debug compiler errors. In particular, we would like to know whether they are on MacOS, Windows or Linux, and the arch on Windows and MacOS.Many users compile for the wrong architecture (e.g. 32bit parsers on 64bit Neovim or arm64 parsers for a Rosetta emulated x64 Neovim or vice-versa. Many users don't seem to be able to provide this information reliably as they didn't notice that their OS runs a different architecture for them. This would be something that could be somehow deducible from
What do you mean? Where upstream Neovim should put it? It's just the output of |
Yes, I would be happy with
I understand it's valuable information but we can't have every plugin dump that in checkhealth. Rather than displaying this in treesitter, I say let's dump it in Thnaks for the explanation about |
I just tried to fix that. But I discovered that we already have a |
yeah I can see the tag now, not sure why it didn't work before. I've been playing with the playground it's great, but I think I hit nvim-treesitter/playground#88 . I've ran a nvim-treesitter checkhealth NB: found the issue, I had not the "query" grammar installed |
Is your feature request related to a problem? Please describe.
I would like the equivalent of
:LspInfo
that dumps only what is relevant to debug my current buffer, maybe something like:TSInfo
?TSModuleInfo dumps too much information, here it dumps 137 lines for all the languages I have nothing installed.
Other remarks on checkhealth:
I install all my grammars via nix, I find it weird to see the absence of a compiler. It should be a warning or popup when running TSInstall.
I've tried
:h :TSInstall
to no avail, so I wonder what's the difference between TSInstallFromGrammar and TSInstall ? Might be worth adding to documentation.As for the "OS info" part, if every plugin starts to add a similar output to its healthcheck, we are doomed. It is relevant though so maybe it should be upstreamed to bneovim instead.
The text was updated successfully, but these errors were encountered: