We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
treesitter randomly loss highlight in golang file
start nvim and open a golang file
treesitter highlight works in golang file
:checkhealth nvim-treesitter
nvim-treesitter: require("nvim-treesitter.health").check() Installation ~ - OK `tree-sitter` found 0.20.8 (parser generator, only needed for :TSInstallFromGrammar) - OK `node` found v21.2.0 (only needed for :TSInstallFromGrammar) - OK `git` executable found. - OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: cc (Debian 8.3.0-6) 8.3.0 - 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 = "5.4.143.bsk.8-amd64", sysname = "Linux", version = "#5.4.143.bsk.8 SMP Debian 5.4.143.bsk.8 Wed Jul 20 08:43:36 UTC " } ~ Parser/Features H L F I J - c ✓ ✓ ✓ ✓ ✓ - commonlisp ✓ ✓ ✓ . . - gitignore ✓ . . . . - go ✓ ✓ ✓ ✓ ✓ - gomod ✓ . . . ✓ - gosum ✓ . . . . - javascript ✓ ✓ ✓ ✓ ✓ - json ✓ ✓ ✓ ✓ . - lua ✓ ✓ ✓ ✓ ✓ - markdown ✓ . ✓ ✓ ✓ - python ✓ ✓ ✓ ✓ ✓ - query ✓ ✓ ✓ ✓ ✓ - vim ✓ ✓ ✓ . ✓ - vimdoc ✓ . . . ✓ 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} ~
nvim --version
NVIM v0.10.0-dev-2427+geb4783fb6 Build type: RelWithDebInfo LuaJIT 2.1.1707061634 Run "nvim -V1 -v" for more info
No response
The text was updated successfully, but these errors were encountered:
This issue is impossible to act on. Please provide a minimal and reproducible example we can test with nvim --clean -u test.lua test.go.
nvim --clean -u test.lua test.go
Sorry, something went wrong.
No branches or pull requests
Describe the bug
treesitter randomly loss highlight in golang file
To Reproduce
start nvim and open a golang file
Expected behavior
treesitter highlight works in golang file
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
No response
The text was updated successfully, but these errors were encountered: