macvim-dev / macvim-dev/macvim

Big Sur -- Syntax problems: texNewMathZone undefined.

Open
#1,123 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
7.9k
Forks
691
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
After I upgrade brew packages, I found that it always get a error message when I open a tex file:

E117: Unknown function: TexNewMathZone.

To Reproduce
Detailed steps to reproduce the behavior:

  1. In ~/.vim/after/syntax/tex.vim, add one line: call TexNewMathZone("E","align",1)
  2. Open a tex file
  3. It shows: E117: Unknown function: TexNewMathZone.

Environment (please complete the following information):

  • Vim version [e.g. 8.2] (Or paste the result of vim --version.)
  • OS: Mac Big Sur
  • Terminal: Terminal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported reproduction in ~/.vim/after/syntax/tex.vim and check the Vim version with vim --version. Open a TeX file after adding the TexNewMathZone call and investigate the E117 error; done means the reported error no longer appears in that setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.