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

Markdown highlighting is broken on master branch #6022

Closed
mikeboiko opened this issue Jan 31, 2024 · 2 comments
Closed

Markdown highlighting is broken on master branch #6022

mikeboiko opened this issue Jan 31, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@mikeboiko
Copy link

Describe the bug

I updated nvim-treesitter to the latest version on the master branch: commit 45cde459.

My markdown highlighting stopped working.

image

When I manually checkout v0.9.2, the highlighting starts working again:

cd ~/.config/nvim/plugged/nvim-treesitter
git checkout v0.9.2

image

To Reproduce

  1. Update plugins with :PlugUpdate
  2. Update treesitter with :TSUpdate

Expected behavior

No response

Output of :checkhealth nvim-treesitter

==============================================================================
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 v21.6.1 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (GCC) 13.2.1 20230801
- 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.7.1-arch1-1",
  sysname = "Linux",
  version = "#1 SMP PREEMPT_DYNAMIC Sun, 21 Jan 2024 22:14:10 +0000"
} ~

Parser/Features         H L F I J
  - bash                ✓ ✓ ✓ . ✓
  - c                   ✓ ✓ ✓ ✓ ✓
  - c_sharp             ✓ ✓ ✓ . ✓
  - cmake               ✓ . ✓ ✓ .
  - cpp                 ✓ ✓ ✓ ✓ ✓
  - css                 ✓ . ✓ ✓ ✓
  - csv                 ✓ . . . .
  - diff                ✓ . . . .
  - dockerfile          ✓ . . . ✓
  - dtd                 ✓ ✓ ✓ . ✓
  - git_config          ✓ . . . .
  - git_rebase          ✓ . . . ✓
  - gitcommit           ✓ . . . ✓
  - gitignore           ✓ . . . .
  - go                  ✓ ✓ ✓ ✓ ✓
  - groovy              ✓ . . . ✓
  - html                ✓ ✓ ✓ ✓ ✓
  - htmldjango          ✓ . ✓ ✓ ✓
  - ini                 ✓ . ✓ . .
  - java                ✓ ✓ ✓ ✓ ✓
  - javascript          ✓ ✓ ✓ ✓ ✓
  - json                ✓ ✓ ✓ ✓ .
  - lua                 ✓ ✓ ✓ ✓ ✓
  - markdown            ✓ . ✓ ✓ ✓
  - markdown_inline     ✓ . . . ✓
  - mermaid             ✓ . . . .
  - python              ✓ ✓ ✓ ✓ ✓
  - query               ✓ ✓ ✓ ✓ ✓
  - rst                 ✓ ✓ . . ✓
  - sql                 ✓ . . ✓ ✓
  - ssh_config          ✓ ✓ ✓ ✓ ✓
  - toml                ✓ ✓ ✓ ✓ ✓
  - vim                 ✓ ✓ ✓ . ✓
  - vimdoc              ✓ . . . ✓
  - vue                 ✓ . ✓ ✓ ✓
  - xml                 ✓ ✓ ✓ ✓ ✓
  - yaml                ✓ ✓ ✓ ✓ ✓

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

Output of nvim --version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1702233742

Additional context

No response

@mikeboiko mikeboiko added the bug Something isn't working label Jan 31, 2024
@lucario387
Copy link
Member

... Have you read the reason for why a v0.9.2 tag was created? #5895

Please ask your colorscheme's maintainers to adapt to the query capture changes

@lucario387 lucario387 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
@mikeboiko
Copy link
Author

Thanks for sharing the link. I changed my colorscheme to gruvbox and the issue is fixed!

@wookayin wookayin added duplicate This issue or pull request already exists and removed bug Something isn't working labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants