macvim-dev / macvim-dev/macvim
Big Sur -- Syntax problems: texNewMathZone undefined.
Open
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:
- In ~/.vim/after/syntax/tex.vim, add one line:
call TexNewMathZone("E","align",1) - Open a tex file
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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