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

syntax foldlevel not available for vim < 8.2 #2708

Closed
bwhelm opened this issue May 15, 2023 · 1 comment
Closed

syntax foldlevel not available for vim < 8.2 #2708

bwhelm opened this issue May 15, 2023 · 1 comment
Labels

Comments

@bwhelm
Copy link

bwhelm commented May 15, 2023

Description

With commit 18255a2, vimtex uses syntax foldlevel. However, syntax foldlevel was introduced in patch 8.2.0865, and throws an error (E410: Invalid :syntax subcommand) on earlier versions of vim whenever a .tex file is opened.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Do you use a latexmkrc file?

n/a

VimtexInfo

System info:
  OS: MacOS/i[Pad]OS
  Vim version: VIM 8.1 (1-2110)
  Has clientserver: false

VimTeX project: 
  base: 
  root: 
  tex: 
  main parser: current file verified
  document class: article
  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
@bwhelm bwhelm added the bug label May 15, 2023
lervag added a commit that referenced this issue May 15, 2023
@lervag
Copy link
Owner

lervag commented May 15, 2023

Thanks for the clear and well research issue! It should be fixed now.

@lervag lervag closed this as completed May 15, 2023
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