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

Changes in Treesitter parser broke vimtex syntax highlighting #2873

Closed
ritscAlex opened this issue Jan 23, 2024 · 1 comment
Closed

Changes in Treesitter parser broke vimtex syntax highlighting #2873

ritscAlex opened this issue Jan 23, 2024 · 1 comment
Labels

Comments

@ritscAlex
Copy link

Description

Recent changes of the LaTex parser used by treesitter broke the vimtex syntax highlighting, see nvim-treesitter/nvim-treesitter#2293 (comment)

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Do you use a latexmkrc file?

No

VimtexInfo

System info:
  OS: NAVI (Microsoft Windows 11 Education N)
  Vim version: NVIM v0.9.5
  Has clientserver: true
  Servername: \\.\pipe\nvim.9716.0

VimTeX project: main
  base: main.tex
  root: C:\Users\ritsc\latex\Datenanalyse
  tex: C:\Users\ritsc\latex\Datenanalyse/main.tex
  main parser: subfiles
  document class: article
  packages: amsbsy amsgen amsmath amsopn amstext babel epstopdf-base float geometry graphics graphicx iftex ifvtex import inputenc keyval pgf pgf-pie pgfcomp-version-0-65 pgfcomp-version-1-18 pgfcore pgffor pgfkeys pgfmath pgfplots pgfrcs pgfsys scalefnt subfiles tikz titlesec trig xcolor
  source files:
    main.tex
    titlepage.tex
    Chapters/Einleitung.tex
    Chapters/Theoretische_Grundlagen.tex
    Chapters/Methode.tex
    Chapters/Ergebnisse.tex
    Chapters/Diskussion.tex
  compiler: latexmk
    engine: -pdf
    options:
      -verbose
      -file-line-error
      -synctex=1
      -interaction=nonstopmode
    callback: 1
    continuous: 1
    executable: latexmk
  viewer: General
  qf method: LaTeX logfile
@ritscAlex ritscAlex added the bug label Jan 23, 2024
@lervag
Copy link
Owner

lervag commented Jan 23, 2024

No; VimTeX uses the legacy syntax engine, not Treesitter. Please read :help vimtex-syntax and :help vimtex-faq-treesitter.

@lervag lervag closed this as completed Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants