macvim-dev / macvim-dev/macvim
macvim does not recognize math latex symbols anymore
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
I am running Macvim 8.0.1633 (146) on macos 10.13.3 Weirdly, even with syntax on, the math
highlighting is plainly wrong, see
https://vi.stackexchange.com/questions/16199/macvim-does-not-recognize-math-latex-symbols-anymore
In the screenshot above, I didn't search for equation and the file compiled just fine.
As explained, the output of echo synIDattr(synID(line("."), col("."), 1), "name") turns out to be texBadMath. Anybody knows here what is going on?
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
Reproduce the report in MacVim 8.0.1633 on macOS 10.13.3 with syntax highlighting enabled, using the linked example and the synIDattr command. Compare the highlighted equation with the reported texBadMath result; done means LaTeX math symbols receive the correct syntax highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, macos, vim
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100